home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hot Super Models
/
Hot Super Models.iso
/
mac
/
jpeg2gif.cpt
/
jpeg2gif
/
djpeg folder
/
djpeg.020.68881.rsrc
/
CODE_3.txt
< prev
next >
Wrap
Text File
|
1991-11-12
|
432KB
|
7,917 lines
# near model CODE resource
# jump table entries: 512-540 (29 of them)
fn00000000:
00000000 4E56 FFFC link A6, -0x0004
00000004 7001 moveq.l D0, 0x01
00000006 3D40 FFFE move.w [A6 - 0x2], D0
0000000A 426E FFFC clr.w [A6 - 0x4]
0000000E 082E 0000 000D btst.b [A6 + 0xD], 0x0
00000014 6706 beq +0x8 /* 0000001C */
00000016 7002 moveq.l D0, 0x02
00000018 3D40 FFFE move.w [A6 - 0x2], D0
label0000001C:
0000001C 082E 0001 000D btst.b [A6 + 0xD], 0x1
00000022 6706 beq +0x8 /* 0000002A */
00000024 7003 moveq.l D0, 0x03
00000026 3D40 FFFE move.w [A6 - 0x2], D0
label0000002A:
0000002A 082E 0002 000D btst.b [A6 + 0xD], 0x2
00000030 6706 beq +0x8 /* 00000038 */
00000032 08EE 0000 FFFD bset.b [A6 - 0x3], 0x0
label00000038:
00000038 082E 0003 000D btst.b [A6 + 0xD], 0x3
0000003E 6706 beq +0x8 /* 00000046 */
00000040 08EE 0001 FFFD bset.b [A6 - 0x3], 0x1
label00000046:
00000046 082E 0004 000D btst.b [A6 + 0xD], 0x4
0000004C 6706 beq +0x8 /* 00000054 */
0000004E 08EE 0002 FFFD bset.b [A6 - 0x3], 0x2
label00000054:
00000054 082E 0005 000D btst.b [A6 + 0xD], 0x5
0000005A 6706 beq +0x8 /* 00000062 */
0000005C 08EE 0003 FFFD bset.b [A6 - 0x3], 0x3
label00000062:
00000062 303C 00C0 move.w D0, 0xC0
00000066 C06E 000C and.w D0, [A6 + 0xC]
0000006A 4A40 tst.w D0
0000006C 6606 bne +0x8 /* 00000074 */
0000006E 3D6D F736 000C move.w [A6 + 0xC], [A5 - 0x8CA]
label00000074:
00000074 082E 0006 000D btst.b [A6 + 0xD], 0x6
0000007A 6606 bne +0x8 /* 00000082 */
0000007C 08EE 0004 FFFD bset.b [A6 - 0x3], 0x4
label00000082:
00000082 4EBA 37CC jsr [PC + 0x37CC /* 00003850 */]
00000086 2F00 move.l -[A7], D0
00000088 3F2E FFFC move.w -[A7], [A6 - 0x4]
0000008C 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000090 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000094 4EBA 2E7C jsr [PC + 0x2E7C /* 00002F12 */]
00000098 4FEF 000C lea.l A7, [A7 + 0xC]
0000009C 2F00 move.l -[A7], D0
0000009E 4EBA 001E jsr [PC + 0x1E /* 000000BE */]
000000A2 588F addq.l A7, 4
000000A4 4E5E unlink A6
000000A6 4E75 rts
000000A8 4E56 0000 link A6, 0
000000AC 3F3C 000D move.w -[A7], 0xD /* '\r' */
000000B0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000000B4 4EBA FF4A jsr [PC - 0xB6 /* 00000000 */]
000000B8 5C8F addq.l A7, 6
000000BA 4E5E unlink A6
000000BC 4E75 rts
fn000000BE:
000000BE 4E56 0000 link A6, 0
000000C2 4AAE 0008 tst.l [A6 + 0x8]
000000C6 6718 beq +0x1A /* 000000E0 */
000000C8 41ED FD2E lea.l A0, [A5 - 0x2D2]
000000CC 202E 0008 move.l D0, [A6 + 0x8]
000000D0 9088 sub.l D0, A0
000000D2 2F3C 0000 0026 move.l -[A7], 0x26 /* '&' */
000000D8 2F00 move.l -[A7], D0
000000DA 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
000000DE 6002 bra +0x4 /* 000000E2 */
label000000E0:
000000E0 70FF moveq.l D0, 0xFFFFFFFF
label000000E2:
000000E2 4E5E unlink A6
000000E4 4E75 rts
000000E6 4E56 0000 link A6, 0
000000EA 3F2E 0008 move.w -[A7], [A6 + 0x8]
000000EE 4EBA 01EE jsr [PC + 0x1EE /* 000002DE */]
000000F2 548F addq.l A7, 2
000000F4 4E5E unlink A6
000000F6 4E75 rts
000000F8 4E56 FFFC link A6, -0x0004
000000FC 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000100 4EBA 01DC jsr [PC + 0x1DC /* 000002DE */]
00000104 548F addq.l A7, 2
00000106 2D40 FFFC move.l [A6 - 0x4], D0
0000010A 4A80 tst.l D0
0000010C 6748 beq +0x4A /* 00000156 */
0000010E 4A6E 000E tst.w [A6 + 0xE]
00000112 6604 bne +0x6 /* 00000118 */
00000114 7000 moveq.l D0, 0x00
00000116 6040 bra +0x42 /* 00000158 */
label00000118:
00000118 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000011C 7000 moveq.l D0, 0x00
0000011E 302E 000E move.w D0, [A6 + 0xE]
00000122 2F00 move.l -[A7], D0
00000124 4878 0001 push.l 0x1
00000128 2F2E 000A move.l -[A7], [A6 + 0xA]
0000012C 4EBA 3200 jsr [PC + 0x3200 /* 0000332E */]
00000130 4FEF 0010 lea.l A7, [A7 + 0x10]
00000134 3D40 000E move.w [A6 + 0xE], D0
00000138 4A6E 000E tst.w [A6 + 0xE]
0000013C 6612 bne +0x14 /* 00000150 */
0000013E 206E FFFC movea.l A0, [A6 - 0x4]
00000142 7000 moveq.l D0, 0x00
00000144 0810 0005 btst.b [A0], 0x5
00000148 56C0 sne D0
0000014A 4400 neg.b D0
0000014C 4A40 tst.w D0
0000014E 6706 beq +0x8 /* 00000156 */
label00000150:
00000150 302E 000E move.w D0, [A6 + 0xE]
00000154 6002 bra +0x4 /* 00000158 */
label00000156:
00000156 70FF moveq.l D0, 0xFFFFFFFF
label00000158:
00000158 4E5E unlink A6
0000015A 4E75 rts
export_92:
0000015C 4E56 FFFC link A6, -0x0004
00000160 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000164 4EBA 0178 jsr [PC + 0x178 /* 000002DE */]
00000168 548F addq.l A7, 2
0000016A 2D40 FFFC move.l [A6 - 0x4], D0
0000016E 4A80 tst.l D0
00000170 6736 beq +0x38 /* 000001A8 */
00000172 4A6E 000E tst.w [A6 + 0xE]
00000176 6604 bne +0x6 /* 0000017C */
00000178 7000 moveq.l D0, 0x00
0000017A 602E bra +0x30 /* 000001AA */
label0000017C:
0000017C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000180 7000 moveq.l D0, 0x00
00000182 302E 000E move.w D0, [A6 + 0xE]
00000186 2F00 move.l -[A7], D0
00000188 4878 0001 push.l 0x1
0000018C 2F2E 000A move.l -[A7], [A6 + 0xA]
00000190 4EBA 3410 jsr [PC + 0x3410 /* 000035A2 */]
00000194 4FEF 0010 lea.l A7, [A7 + 0x10]
00000198 3D40 000E move.w [A6 + 0xE], D0
0000019C 4A6E 000E tst.w [A6 + 0xE]
000001A0 6706 beq +0x8 /* 000001A8 */
000001A2 302E 000E move.w D0, [A6 + 0xE]
000001A6 6002 bra +0x4 /* 000001AA */
label000001A8:
000001A8 70FF moveq.l D0, 0xFFFFFFFF
label000001AA:
000001AA 4E5E unlink A6
000001AC 4E75 rts
000001AE 4E56 FFFC link A6, -0x0004
000001B2 3F2E 0008 move.w -[A7], [A6 + 0x8]
000001B6 4EBA 0126 jsr [PC + 0x126 /* 000002DE */]
000001BA 548F addq.l A7, 2
000001BC 2D40 FFFC move.l [A6 - 0x4], D0
000001C0 4A80 tst.l D0
000001C2 670C beq +0xE /* 000001D0 */
000001C4 2F2E FFFC move.l -[A7], [A6 - 0x4]
000001C8 4EBA 3888 jsr [PC + 0x3888 /* 00003A52 */]
000001CC 588F addq.l A7, 4
000001CE 6002 bra +0x4 /* 000001D2 */
label000001D0:
000001D0 70FF moveq.l D0, 0xFFFFFFFF
label000001D2:
000001D2 4E5E unlink A6
000001D4 4E75 rts
000001D6 4E56 FFFC link A6, -0x0004
000001DA 3F2E 0008 move.w -[A7], [A6 + 0x8]
000001DE 4EBA 00FE jsr [PC + 0xFE /* 000002DE */]
000001E2 548F addq.l A7, 2
000001E4 2D40 FFFC move.l [A6 - 0x4], D0
000001E8 4A80 tst.l D0
000001EA 6724 beq +0x26 /* 00000210 */
000001EC 3F2E 000E move.w -[A7], [A6 + 0xE]
000001F0 2F2E 000A move.l -[A7], [A6 + 0xA]
000001F4 2F2E FFFC move.l -[A7], [A6 - 0x4]
000001F8 4EBA 328E jsr [PC + 0x328E /* 00003488 */]
000001FC 4FEF 000A lea.l A7, [A7 + 0xA]
00000200 4A40 tst.w D0
00000202 660C bne +0xE /* 00000210 */
00000204 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000208 4EBA 333C jsr [PC + 0x333C /* 00003546 */]
0000020C 588F addq.l A7, 4
0000020E 6002 bra +0x4 /* 00000212 */
label00000210:
00000210 70FF moveq.l D0, 0xFFFFFFFF
label00000212:
00000212 4E5E unlink A6
00000214 4E75 rts
00000216 4E56 FFFC link A6, -0x0004
0000021A 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000021E 4EBA 00BE jsr [PC + 0xBE /* 000002DE */]
00000222 548F addq.l A7, 2
00000224 2D40 FFFC move.l [A6 - 0x4], D0
00000228 4A80 tst.l D0
0000022A 670C beq +0xE /* 00000238 */
0000022C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000230 4EBA 3314 jsr [PC + 0x3314 /* 00003546 */]
00000234 588F addq.l A7, 4
00000236 6002 bra +0x4 /* 0000023A */
label00000238:
00000238 70FF moveq.l D0, 0xFFFFFFFF
label0000023A:
0000023A 4E5E unlink A6
0000023C 4E75 rts
0000023E 4E56 FFFE link A6, -0x0002
00000242 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000246 4878 0001 push.l 0x1
0000024A 4878 0002 push.l 0x2
0000024E 486E FFFE pea.l [A6 - 0x2]
00000252 4EBA 30DA jsr [PC + 0x30DA /* 0000332E */]
00000256 4FEF 0010 lea.l A7, [A7 + 0x10]
0000025A 4A80 tst.l D0
0000025C 6706 beq +0x8 /* 00000264 */
0000025E 302E FFFE move.w D0, [A6 - 0x2]
00000262 6002 bra +0x4 /* 00000266 */
label00000264:
00000264 70FF moveq.l D0, 0xFFFFFFFF
label00000266:
00000266 4E5E unlink A6
00000268 4E75 rts
0000026A 4E56 0000 link A6, 0
0000026E 2F2E 000A move.l -[A7], [A6 + 0xA]
00000272 4878 0001 push.l 0x1
00000276 4878 0002 push.l 0x2
0000027A 486E 0008 pea.l [A6 + 0x8]
0000027E 4EBA 3322 jsr [PC + 0x3322 /* 000035A2 */]
00000282 4FEF 0010 lea.l A7, [A7 + 0x10]
00000286 4A80 tst.l D0
00000288 6706 beq +0x8 /* 00000290 */
0000028A 302E 0008 move.w D0, [A6 + 0x8]
0000028E 6002 bra +0x4 /* 00000292 */
label00000290:
00000290 70FF moveq.l D0, 0xFFFFFFFF
label00000292:
00000292 4E5E unlink A6
00000294 4E75 rts
00000296 4E56 0000 link A6, 0
0000029A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000029E 4EBA 2A28 jsr [PC + 0x2A28 /* 00002CC8 */]
000002A2 588F addq.l A7, 4
000002A4 4E5E unlink A6
000002A6 4E75 rts
000002A8 4E56 0000 link A6, 0
000002AC 2F0C move.l -[A7], A4
000002AE 0C6E 000F 0008 cmpi.w [A6 + 0x8], 0xF
000002B4 6420 bcc +0x22 /* 000002D6 */
000002B6 302E 0008 move.w D0, [A6 + 0x8]
000002BA C1FC 0026 muls.w D0, 0x26 /* '&' */
000002BE 41ED FD2E lea.l A0, [A5 - 0x2D2]
000002C2 D1C0 add.l A0, D0
000002C4 2848 movea.l A4, A0
000002C6 4AAC 001E tst.l [A4 + 0x1E]
000002CA 6606 bne +0x8 /* 000002D2 */
000002CC 0814 0007 btst.b [A4], 0x7
000002D0 6704 beq +0x6 /* 000002D6 */
label000002D2:
000002D2 7001 moveq.l D0, 0x01
000002D4 6002 bra +0x4 /* 000002D8 */
label000002D6:
000002D6 7000 moveq.l D0, 0x00
label000002D8:
000002D8 285F movea.l A4, [A7]+
000002DA 4E5E unlink A6
000002DC 4E75 rts
fn000002DE:
000002DE 4E56 0000 link A6, 0
000002E2 2F0C move.l -[A7], A4
000002E4 0C6E 000F 0008 cmpi.w [A6 + 0x8], 0xF
000002EA 6420 bcc +0x22 /* 0000030C */
000002EC 302E 0008 move.w D0, [A6 + 0x8]
000002F0 C1FC 0026 muls.w D0, 0x26 /* '&' */
000002F4 41ED FD2E lea.l A0, [A5 - 0x2D2]
000002F8 D1C0 add.l A0, D0
000002FA 2848 movea.l A4, A0
000002FC 4A6C 0004 tst.w [A4 + 0x4]
00000300 6606 bne +0x8 /* 00000308 */
00000302 0814 0007 btst.b [A4], 0x7
00000306 6704 beq +0x6 /* 0000030C */
label00000308:
00000308 200C move.l D0, A4
0000030A 6008 bra +0xA /* 00000314 */
label0000030C:
0000030C 7009 moveq.l D0, 0x09
0000030E 3B40 FCFA move.w [A5 - 0x306], D0
00000312 7000 moveq.l D0, 0x00
label00000314:
00000314 285F movea.l A4, [A7]+
00000316 4E5E unlink A6
00000318 4E75 rts
export_91:
fn0000031A:
0000031A 4E56 0000 link A6, 0
0000031E 0CAE 0000 3A98 0008 cmpi.l [A6 + 0x8], 0x3A98
00000326 640C bcc +0xE /* 00000334 */
00000328 3F2E 000A move.w -[A7], [A6 + 0xA]
0000032C 4EBA 01D6 jsr [PC + 0x1D6 /* 00000504 */]
00000330 548F addq.l A7, 2
00000332 601E bra +0x20 /* 00000352 */
label00000334:
00000334 0CAE 0080 0000 0008 cmpi.l [A6 + 0x8], 0x800000
0000033C 6304 bls +0x6 /* 00000342 */
0000033E 7000 moveq.l D0, 0x00
00000340 6010 bra +0x12 /* 00000352 */
label00000342:
00000342 202E 0008 move.l D0, [A6 + 0x8]
00000346 5480 addq.l D0, 2
00000348 A11E syscall NewPtr, flags=1
0000034A 6B04 bmi +0x6 /* 00000350 */
0000034C 30FC FFFF move.w [A0]+, 0xFFFF
label00000350:
00000350 2008 move.l D0, A0
label00000352:
00000352 4E5E unlink A6
00000354 4E75 rts
00000356 4E56 FFFC link A6, -0x0004
0000035A 0CAE 0080 0000 000C cmpi.l [A6 + 0xC], 0x800000
00000362 6306 bls +0x8 /* 0000036A */
00000364 7000 moveq.l D0, 0x00
00000366 6000 0070 bra +0x72 /* 000003D8 */
label0000036A:
0000036A 082E 0000 000F btst.b [A6 + 0xF], 0x0
00000370 6704 beq +0x6 /* 00000376 */
00000372 52AE 000C addq.l [A6 + 0xC], 1
label00000376:
00000376 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000037A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000037E 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00000382 2D40 000C move.l [A6 + 0xC], D0
00000386 0CAE 0080 0000 000C cmpi.l [A6 + 0xC], 0x800000
0000038E 6304 bls +0x6 /* 00000394 */
00000390 7000 moveq.l D0, 0x00
00000392 6044 bra +0x46 /* 000003D8 */
label00000394:
00000394 0CAE 0000 3A98 000C cmpi.l [A6 + 0xC], 0x3A98
0000039C 642A bcc +0x2C /* 000003C8 */
0000039E 3F2E 000E move.w -[A7], [A6 + 0xE]
000003A2 4EBA 0160 jsr [PC + 0x160 /* 00000504 */]
000003A6 548F addq.l A7, 2
000003A8 2D40 FFFC move.l [A6 - 0x4], D0
000003AC 4A80 tst.l D0
000003AE 6712 beq +0x14 /* 000003C2 */
000003B0 2F2E 000C move.l -[A7], [A6 + 0xC]
000003B4 4267 clr.w -[A7]
000003B6 2F2E FFFC move.l -[A7], [A6 - 0x4]
000003BA 4EBA 377A jsr [PC + 0x377A /* 00003B36 */]
000003BE 4FEF 000A lea.l A7, [A7 + 0xA]
label000003C2:
000003C2 202E FFFC move.l D0, [A6 - 0x4]
000003C6 6010 bra +0x12 /* 000003D8 */
label000003C8:
000003C8 202E 000C move.l D0, [A6 + 0xC]
000003CC 5480 addq.l D0, 2
000003CE A31E syscall NewPtrClear, flags=3
000003D0 6B04 bmi +0x6 /* 000003D6 */
000003D2 30FC FFFF move.w [A0]+, 0xFFFF
label000003D6:
000003D6 2008 move.l D0, A0
label000003D8:
000003D8 4E5E unlink A6
000003DA 4E75 rts
000003DC 4E56 0000 link A6, 0
000003E0 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000003E4 286E 0008 movea.l A4, [A6 + 0x8]
000003E8 2E2E 000C move.l D7, [A6 + 0xC]
000003EC 0C87 0080 0000 cmpi.l D7, 0x800000
000003F2 6306 bls +0x8 /* 000003FA */
000003F4 7000 moveq.l D0, 0x00
000003F6 6000 00EE bra +0xF0 /* 000004E6 */
label000003FA:
000003FA B8FC 0000 cmpa.w A4, 0x0
000003FE 660C bne +0xE /* 0000040C */
00000400 2F07 move.l -[A7], D7
00000402 4EBA FF16 jsr [PC - 0xEA /* 0000031A */]
00000406 588F addq.l A7, 4
00000408 6000 00DC bra +0xDE /* 000004E6 */
label0000040C:
0000040C 4A87 tst.l D7
0000040E 660E bne +0x10 /* 0000041E */
00000410 2F0C move.l -[A7], A4
00000412 4EBA 00DA jsr [PC + 0xDA /* 000004EE */]
00000416 588F addq.l A7, 4
00000418 7000 moveq.l D0, 0x00
0000041A 6000 00CA bra +0xCC /* 000004E6 */
label0000041E:
0000041E 0807 0000 btst.b D7, 0x0
00000422 6702 beq +0x4 /* 00000426 */
00000424 5287 addq.l D7, 1
label00000426:
00000426 204C movea.l A0, A4
00000428 7000 moveq.l D0, 0x00
0000042A 3020 move.w D0, -[A0]
0000042C 4640 not.w D0
0000042E 6602 bne +0x4 /* 00000432 */
00000430 A021 syscall GetPtrSize
label00000432:
00000432 5580 subq.l D0, 2
00000434 2C00 move.l D6, D0
00000436 BE86 cmp.l D7, D6
00000438 6418 bcc +0x1A /* 00000452 */
0000043A 2A07 move.l D5, D7
0000043C 0C86 0000 3A98 cmpi.l D6, 0x3A98
00000442 6530 bcs +0x32 /* 00000474 */
00000444 0C87 0000 3A98 cmpi.l D7, 0x3A98
0000044A 6500 007A bcs +0x7C /* 000004C6 */
0000044E 6000 006A bra +0x6C /* 000004BA */
label00000452:
00000452 BE86 cmp.l D7, D6
00000454 6318 bls +0x1A /* 0000046E */
00000456 2A06 move.l D5, D6
00000458 0C86 0000 3A98 cmpi.l D6, 0x3A98
0000045E 6400 005A bcc +0x5C /* 000004BA */
00000462 0C87 0000 3A98 cmpi.l D7, 0x3A98
00000468 6400 005C bcc +0x5E /* 000004C6 */
0000046C 601A bra +0x1C /* 00000488 */
label0000046E:
0000046E 200C move.l D0, A4
00000470 6000 0074 bra +0x76 /* 000004E6 */
label00000474:
00000474 204C movea.l A0, A4
00000476 3220 move.w D1, -[A0]
00000478 2006 move.l D0, D6
0000047A 9087 sub.l D0, D7
0000047C D240 add.w D1, D0
0000047E 3081 move.w [A0], D1
00000480 4641 not.w D1
00000482 D0C1 add.w A0, D1
00000484 3080 move.w [A0], D0
00000486 60E6 bra -0x18 /* 0000046E */
label00000488:
00000488 224C movea.l A1, A4
0000048A 3021 move.w D0, -[A1]
0000048C 4640 not.w D0
0000048E 41F1 0000 lea.l A0, [A1 + D0.w]
00000492 3010 move.w D0, [A0]
00000494 6B30 bmi +0x32 /* 000004C6 */
00000496 2B6D F740 F744 move.l [A5 - 0x8BC], [A5 - 0x8C0]
0000049C 7200 moveq.l D1, 0x00
label0000049E:
0000049E D041 add.w D0, D1
000004A0 3230 0000 move.w D1, [A0 + D0.w]
000004A4 6AF8 bpl -0x6 /* 0000049E */
000004A6 3080 move.w [A0], D0
000004A8 2207 move.l D1, D7
000004AA 9286 sub.l D1, D6
000004AC D0C1 add.w A0, D1
000004AE 9041 sub.w D0, D1
000004B0 6514 bcs +0x16 /* 000004C6 */
000004B2 6702 beq +0x4 /* 000004B6 */
000004B4 3080 move.w [A0], D0
label000004B6:
000004B6 9351 sub.w [A1], D1
000004B8 60B4 bra -0x4A /* 0000046E */
label000004BA:
000004BA 204C movea.l A0, A4
000004BC 5588 subq.l A0, 2
000004BE 2007 move.l D0, D7
000004C0 5480 addq.l D0, 2
000004C2 A020 syscall SetPtrSize
000004C4 6AA8 bpl -0x56 /* 0000046E */
label000004C6:
000004C6 2F07 move.l -[A7], D7
000004C8 4EBA FE50 jsr [PC - 0x1B0 /* 0000031A */]
000004CC 588F addq.l A7, 4
000004CE 2640 movea.l A3, D0
000004D0 4A80 tst.l D0
000004D2 6710 beq +0x12 /* 000004E4 */
000004D4 204C movea.l A0, A4
000004D6 224B movea.l A1, A3
000004D8 2005 move.l D0, D5
000004DA A02E syscall BlockMove/BlockMoveData
000004DC 2F0C move.l -[A7], A4
000004DE 4EBA 000E jsr [PC + 0xE /* 000004EE */]
000004E2 588F addq.l A7, 4
label000004E4:
000004E4 200B move.l D0, A3
label000004E6:
000004E6 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
000004EA 4E5E unlink A6
000004EC 4E75 rts
export_90:
fn000004EE:
000004EE 4E56 0000 link A6, 0
000004F2 202E 0008 move.l D0, [A6 + 0x8]
000004F6 6708 beq +0xA /* 00000500 */
000004F8 2040 movea.l A0, D0
000004FA 4660 not.w -[A0]
000004FC 6602 bne +0x4 /* 00000500 */
000004FE A01F syscall DisposPtr/DisposePtr
label00000500:
00000500 4E5E unlink A6
00000502 4E75 rts
fn00000504:
00000504 4E56 FFF8 link A6, -0x0008
00000508 2F07 move.l -[A7], D7
0000050A 3E2E 0008 move.w D7, [A6 + 0x8]
0000050E 5647 addq.w D7, 3
00000510 0887 0000 bclr.b D7, 0x0
00000514 2D6D F740 FFFC move.l [A6 - 0x4], [A5 - 0x8C0]
0000051A 202D F744 move.l D0, [A5 - 0x8BC]
0000051E 664C bne +0x4E /* 0000056C */
label00000520:
00000520 203C 0000 3AA0 move.l D0, 0x3AA0
00000526 A11E syscall NewPtr, flags=1
00000528 6B00 0086 bmi +0x88 /* 000005B0 */
0000052C 317C FFFF 3A9A move.w [A0 + 0x3A9A], 0xFFFF
00000532 216D F738 3A9C move.l [A0 + 0x3A9C], [A5 - 0x8C8]
00000538 2B48 F738 move.l [A5 - 0x8C8], A0
0000053C 2B48 F740 move.l [A5 - 0x8C0], A0
00000540 202D F73C move.l D0, [A5 - 0x8C4]
00000544 6606 bne +0x8 /* 0000054C */
00000546 2008 move.l D0, A0
00000548 2B40 F73C move.l [A5 - 0x8C4], D0
label0000054C:
0000054C 2240 movea.l A1, D0
0000054E 2348 3A9C move.l [A1 + 0x3A9C], A0
00000552 303C 3A9A move.w D0, 0x3A9A
00000556 3080 move.w [A0], D0
00000558 6044 bra +0x46 /* 0000059E */
label0000055A:
0000055A 202E FFF8 move.l D0, [A6 - 0x8]
0000055E B0AE FFFC cmp.l D0, [A6 - 0x4]
00000562 67BC beq -0x42 /* 00000520 */
00000564 2B40 F740 move.l [A5 - 0x8C0], D0
00000568 2B40 F744 move.l [A5 - 0x8BC], D0
label0000056C:
0000056C 2040 movea.l A0, D0
0000056E 74FF moveq.l D2, 0xFFFFFFFF
00000570 6018 bra +0x1A /* 0000058A */
label00000572:
00000572 4640 not.w D0
00000574 660E bne +0x10 /* 00000584 */
00000576 2D68 0002 FFF8 move.l [A6 - 0x8], [A0 + 0x2]
0000057C 206D F740 movea.l A0, [A5 - 0x8C0]
00000580 242D F744 move.l D2, [A5 - 0x8BC]
label00000584:
00000584 D0C0 add.w A0, D0
00000586 B1C2 cmpa.l A0, D2
00000588 64D0 bcc -0x2E /* 0000055A */
label0000058A:
0000058A 3010 move.w D0, [A0]
0000058C 6BE4 bmi -0x1A /* 00000572 */
0000058E 7200 moveq.l D1, 0x00
label00000590:
00000590 D041 add.w D0, D1
00000592 3230 0000 move.w D1, [A0 + D0.w]
00000596 6AF8 bpl -0x6 /* 00000590 */
00000598 3080 move.w [A0], D0
0000059A B047 cmp.w D0, D7
0000059C 65E6 bcs -0x18 /* 00000584 */
label0000059E:
0000059E 2248 movea.l A1, A0
000005A0 D2C7 add.w A1, D7
000005A2 2B49 F744 move.l [A5 - 0x8BC], A1
000005A6 9047 sub.w D0, D7
000005A8 6702 beq +0x4 /* 000005AC */
000005AA 3280 move.w [A1], D0
label000005AC:
000005AC 4647 not.w D7
000005AE 30C7 move.w [A0]+, D7
label000005B0:
000005B0 2008 move.l D0, A0
000005B2 2E1F move.l D7, [A7]+
000005B4 4E5E unlink A6
000005B6 4E75 rts
fn000005B8:
000005B8 4E56 0000 link A6, 0
000005BC 2F0C move.l -[A7], A4
000005BE 0C6D 0021 F816 cmpi.w [A5 - 0x7EA], 0x21 /* '!' */
000005C4 6F04 ble +0x6 /* 000005CA */
000005C6 70FF moveq.l D0, 0xFFFFFFFF
000005C8 6034 bra +0x36 /* 000005FE */
label000005CA:
000005CA 302D F816 move.w D0, [A5 - 0x7EA]
000005CE 526D F816 addq.w [A5 - 0x7EA], 1
000005D2 C1FC 0006 muls.w D0, 0x6
000005D6 41ED F74A lea.l A0, [A5 - 0x8B6]
000005DA D1C0 add.l A0, D0
000005DC 2848 movea.l A4, A0
000005DE 28AE 0008 move.l [A4], [A6 + 0x8]
000005E2 4AAD F818 tst.l [A5 - 0x7E8]
000005E6 6614 bne +0x16 /* 000005FC */
000005E8 41ED 0222 lea.l A0, [A5 + 0x222 /* export_64 */]
000005EC 2D48 0008 move.l [A6 + 0x8], A0
000005F0 2B6D 006C F818 move.l [A5 - 0x7E8], [A5 + 0x6C]
000005F6 2B6E 0008 006C move.l [A5 + 0x6C], [A6 + 0x8]
label000005FC:
000005FC 7000 moveq.l D0, 0x00
label000005FE:
000005FE 285F movea.l A4, [A7]+
00000600 4E5E unlink A6
00000602 4E75 rts
fn00000604:
00000604 4E56 0000 link A6, 0
00000608 2F0C move.l -[A7], A4
0000060A 0C6D 0021 F816 cmpi.w [A5 - 0x7EA], 0x21 /* '!' */
00000610 6F04 ble +0x6 /* 00000616 */
00000612 70FF moveq.l D0, 0xFFFFFFFF
00000614 605A bra +0x5C /* 00000670 */
label00000616:
00000616 302D F816 move.w D0, [A5 - 0x7EA]
0000061A 526D F816 addq.w [A5 - 0x7EA], 1
0000061E C1FC 0006 muls.w D0, 0x6
00000622 41ED F74A lea.l A0, [A5 - 0x8B6]
00000626 D1C0 add.l A0, D0
00000628 2848 movea.l A4, A0
0000062A 28AE 0008 move.l [A4], [A6 + 0x8]
0000062E 7001 moveq.l D0, 0x01
00000630 3940 0004 move.w [A4 + 0x4], D0
00000634 4AAD F81C tst.l [A5 - 0x7E4]
00000638 6634 bne +0x36 /* 0000066E */
0000063A 41ED 022A lea.l A0, [A5 + 0x22A /* export_65 */]
0000063E 2D48 0008 move.l [A6 + 0x8], A0
00000642 303C A9F4 move.w D0, 0xA9F4
00000646 A146 syscall GetTrapAddress, flags=1
00000648 2B48 F81C move.l [A5 - 0x7E4], A0
0000064C 206E 0008 movea.l A0, [A6 + 0x8]
00000650 4A78 028E tst.w [0x0000028E /* ROM85 */]
00000654 6A12 bpl +0x14 /* 00000668 */
00000656 7006 moveq.l D0, 0x06
00000658 A51E syscall NewPtrSys, flags=5
0000065A 2B48 F820 move.l [A5 - 0x7E0], A0
0000065E 30BC 4EF9 move.w [A0], 0x4EF9
00000662 216E 0008 0002 move.l [A0 + 0x2], [A6 + 0x8]
label00000668:
00000668 303C A9F4 move.w D0, 0xA9F4
0000066C A047 syscall SetTrapAddress
label0000066E:
0000066E 7000 moveq.l D0, 0x00
label00000670:
00000670 285F movea.l A4, [A7]+
00000672 4E5E unlink A6
00000674 4E75 rts
fn00000676:
00000676 4E56 FFFE link A6, -0x0002
0000067A 3D6D F816 FFFE move.w [A6 - 0x2], [A5 - 0x7EA]
00000680 7001 moveq.l D0, 0x01
00000682 3B40 F816 move.w [A5 - 0x7EA], D0
00000686 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000068A 4EBA FF2C jsr [PC - 0xD4 /* 000005B8 */]
0000068E 588F addq.l A7, 4
00000690 3B6E FFFE F816 move.w [A5 - 0x7EA], [A6 - 0x2]
00000696 4E5E unlink A6
00000698 4E75 rts
fn0000069A:
0000069A 4E56 FFFE link A6, -0x0002
0000069E 3D6D F816 FFFE move.w [A6 - 0x2], [A5 - 0x7EA]
000006A4 426D F816 clr.w [A5 - 0x7EA]
000006A8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000006AC 4EBA FF56 jsr [PC - 0xAA /* 00000604 */]
000006B0 588F addq.l A7, 4
000006B2 3B6E FFFE F816 move.w [A5 - 0x7EA], [A6 - 0x2]
000006B8 4E5E unlink A6
000006BA 4E75 rts
export_67:
fn000006BC:
000006BC 4E56 0000 link A6, 0
000006C0 206D 006C movea.l A0, [A5 + 0x6C]
000006C4 4E90 jsr [A0]
000006C6 A9F4 syscall ExitToShell
000006C8 4E5E unlink A6
000006CA 4E75 rts
000006CC 4E56 0000 link A6, 0
000006D0 A9F4 syscall ExitToShell
000006D2 4E5E unlink A6
000006D4 4E75 rts
export_64:
000006D6 3F3C 0001 move.w -[A7], 0x1
000006DA 4EBA 0012 jsr [PC + 0x12 /* 000006EE */]
000006DE 548F addq.l A7, 2
000006E0 4E75 rts
export_65:
000006E2 4267 clr.w -[A7]
000006E4 4EBA 0008 jsr [PC + 0x8 /* 000006EE */]
000006E8 548F addq.l A7, 2
000006EA A9F4 syscall ExitToShell
000006EC 4E75 rts
fn000006EE:
000006EE 4E56 FFFA link A6, -0x0006
000006F2 2F0C move.l -[A7], A4
000006F4 41ED F816 lea.l A0, [A5 - 0x7EA]
000006F8 2848 movea.l A4, A0
000006FA 2F0D move.l -[A7], A5
000006FC 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
00000700 4A6E 0008 tst.w [A6 + 0x8]
00000704 6606 bne +0x8 /* 0000070C */
00000706 7001 moveq.l D0, 0x01
00000708 3B40 F748 move.w [A5 - 0x8B8], D0
label0000070C:
0000070C 41ED F816 lea.l A0, [A5 - 0x7EA]
00000710 2848 movea.l A4, A0
00000712 7022 moveq.l D0, 0x22
00000714 3D40 FFFA move.w [A6 - 0x6], D0
00000718 601C bra +0x1E /* 00000736 */
label0000071A:
0000071A 5D8C subq.l A4, 6
0000071C 2D54 FFFC move.l [A6 - 0x4], [A4]
00000720 6714 beq +0x16 /* 00000736 */
00000722 4294 clr.l [A4]
00000724 4A6E 0008 tst.w [A6 + 0x8]
00000728 6606 bne +0x8 /* 00000730 */
0000072A 4A6C 0004 tst.w [A4 + 0x4]
0000072E 6706 beq +0x8 /* 00000736 */
label00000730:
00000730 206E FFFC movea.l A0, [A6 - 0x4]
00000734 4E90 jsr [A0]
label00000736:
00000736 302E FFFA move.w D0, [A6 - 0x6]
0000073A 536E FFFA subq.w [A6 - 0x6], 1
0000073E 4A40 tst.w D0
00000740 66D8 bne -0x26 /* 0000071A */
00000742 202D F820 move.l D0, [A5 - 0x7E0]
00000746 6708 beq +0xA /* 00000750 */
00000748 2040 movea.l A0, D0
0000074A A01F syscall DisposPtr/DisposePtr
0000074C 42AD F820 clr.l [A5 - 0x7E0]
label00000750:
00000750 202D F81C move.l D0, [A5 - 0x7E4]
00000754 670C beq +0xE /* 00000762 */
00000756 2040 movea.l A0, D0
00000758 303C A9F4 move.w D0, 0xA9F4
0000075C A047 syscall SetTrapAddress
0000075E 42AD F81C clr.l [A5 - 0x7E4]
label00000762:
00000762 206D 006C movea.l A0, [A5 + 0x6C]
00000766 202D F818 move.l D0, [A5 - 0x7E8]
0000076A 6702 beq +0x4 /* 0000076E */
0000076C 2040 movea.l A0, D0
label0000076E:
0000076E 4E90 jsr [A0]
00000770 41ED 0232 lea.l A0, [A5 + 0x232 /* export_66 */]
00000774 2B48 F818 move.l [A5 - 0x7E8], A0
00000778 2A5F movea.l A5, [A7]+
0000077A 285F movea.l A4, [A7]+
0000077C 4E5E unlink A6
0000077E 4E75 rts
export_66:
00000780 4E75 rts
fn00000782:
00000782 4E56 0000 link A6, 0
00000786 2F0C move.l -[A7], A4
00000788 286E 0008 movea.l A4, [A6 + 0x8]
0000078C 42AC 0012 clr.l [A4 + 0x12]
00000790 2F0C move.l -[A7], A4
00000792 4EBA 4A94 jsr [PC + 0x4A94 /* 00005228 */]
00000796 588F addq.l A7, 4
00000798 082C 0007 0001 btst.b [A4 + 0x1], 0x7
0000079E 671A beq +0x1C /* 000007BA */
000007A0 202C 000A move.l D0, [A4 + 0xA]
000007A4 2940 0012 move.l [A4 + 0x12], D0
000007A8 D1AC 0016 add.l [A4 + 0x16], D0
000007AC 296C 0006 000E move.l [A4 + 0xE], [A4 + 0x6]
000007B2 08AC 0007 0001 bclr.b [A4 + 0x1], 0x7
000007B8 6018 bra +0x1A /* 000007D2 */
label000007BA:
000007BA 2F0C move.l -[A7], A4
000007BC 4EBA 00D6 jsr [PC + 0xD6 /* 00000894 */]
000007C0 588F addq.l A7, 4
000007C2 2F0C move.l -[A7], A4
000007C4 4EBA 4C0C jsr [PC + 0x4C0C /* 000053D2 */]
000007C8 588F addq.l A7, 4
000007CA 4A40 tst.w D0
000007CC 6704 beq +0x6 /* 000007D2 */
000007CE 70FF moveq.l D0, 0xFFFFFFFF
000007D0 6010 bra +0x12 /* 000007E2 */
label000007D2:
000007D2 53AC 0012 subq.l [A4 + 0x12], 1
000007D6 206C 000E movea.l A0, [A4 + 0xE]
000007DA 52AC 000E addq.l [A4 + 0xE], 1
000007DE 7000 moveq.l D0, 0x00
000007E0 1010 move.b D0, [A0]
label000007E2:
000007E2 285F movea.l A4, [A7]+
000007E4 4E5E unlink A6
000007E6 4E75 rts
export_68:
fn000007E8:
000007E8 4E56 0000 link A6, 0
000007EC 2F0C move.l -[A7], A4
000007EE 286E 000A movea.l A4, [A6 + 0xA]
000007F2 0814 0003 btst.b [A4], 0x3
000007F6 664A bne +0x4C /* 00000842 */
000007F8 2F0C move.l -[A7], A4
000007FA 4EBA 4A2C jsr [PC + 0x4A2C /* 00005228 */]
000007FE 588F addq.l A7, 4
00000800 0814 0001 btst.b [A4], 0x1
00000804 6706 beq +0x8 /* 0000080C */
00000806 296C 001A 0016 move.l [A4 + 0x16], [A4 + 0x1A]
label0000080C:
0000080C 2F0C move.l -[A7], A4
0000080E 4EBA 0084 jsr [PC + 0x84 /* 00000894 */]
00000812 588F addq.l A7, 4
00000814 4AAC 001E tst.l [A4 + 0x1E]
00000818 6706 beq +0x8 /* 00000820 */
0000081A 7001 moveq.l D0, 0x01
0000081C 2940 0012 move.l [A4 + 0x12], D0
label00000820:
00000820 08D4 0003 bset.b [A4], 0x3
00000824 53AC 0012 subq.l [A4 + 0x12], 1
00000828 4AAC 0012 tst.l [A4 + 0x12]
0000082C 6714 beq +0x16 /* 00000842 */
0000082E 206C 000E movea.l A0, [A4 + 0xE]
00000832 52AC 000E addq.l [A4 + 0xE], 1
00000836 102E 0009 move.b D0, [A6 + 0x9]
0000083A 1080 move.b [A0], D0
0000083C 0240 00FF andi.w D0, 0xFF
00000840 604C bra +0x4E /* 0000088E */
label00000842:
00000842 206C 000E movea.l A0, [A4 + 0xE]
00000846 52AC 000E addq.l [A4 + 0xE], 1
0000084A 7000 moveq.l D0, 0x00
0000084C 102E 0009 move.b D0, [A6 + 0x9]
00000850 3D40 0008 move.w [A6 + 0x8], D0
00000854 1080 move.b [A0], D0
00000856 4AAC 001E tst.l [A4 + 0x1E]
0000085A 671E beq +0x20 /* 0000087A */
0000085C 0C6E 0020 0008 cmpi.w [A6 + 0x8], 0x20 /* ' ' */
00000862 6D16 blt +0x18 /* 0000087A */
00000864 202C 000E move.l D0, [A4 + 0xE]
00000868 90AC 0006 sub.l D0, [A4 + 0x6]
0000086C B0AC 000A cmp.l D0, [A4 + 0xA]
00000870 6408 bcc +0xA /* 0000087A */
00000872 7001 moveq.l D0, 0x01
00000874 2940 0012 move.l [A4 + 0x12], D0
00000878 6010 bra +0x12 /* 0000088A */
label0000087A:
0000087A 2F0C move.l -[A7], A4
0000087C 4EBA 005A jsr [PC + 0x5A /* 000008D8 */]
00000880 588F addq.l A7, 4
00000882 4A40 tst.w D0
00000884 6704 beq +0x6 /* 0000088A */
00000886 70FF moveq.l D0, 0xFFFFFFFF
00000888 6004 bra +0x6 /* 0000088E */
label0000088A:
0000088A 302E 0008 move.w D0, [A6 + 0x8]
label0000088E:
0000088E 285F movea.l A4, [A7]+
00000890 4E5E unlink A6
00000892 4E75 rts
fn00000894:
00000894 4E56 0000 link A6, 0
00000898 2F0C move.l -[A7], A4
0000089A 286E 0008 movea.l A4, [A6 + 0x8]
0000089E 296C 0006 000E move.l [A4 + 0xE], [A4 + 0x6]
000008A4 296C 000A 0012 move.l [A4 + 0x12], [A4 + 0xA]
000008AA 4A6C 0004 tst.w [A4 + 0x4]
000008AE 6F1A ble +0x1C /* 000008CA */
000008B0 0CAC 0000 0001 000A cmpi.l [A4 + 0xA], 0x1
000008B8 6310 bls +0x12 /* 000008CA */
000008BA 2F2C 000A move.l -[A7], [A4 + 0xA]
000008BE 2F2C 0016 move.l -[A7], [A4 + 0x16]
000008C2 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000008C6 91AC 0012 sub.l [A4 + 0x12], D0
label000008CA:
000008CA 202C 0012 move.l D0, [A4 + 0x12]
000008CE D1AC 0016 add.l [A4 + 0x16], D0
000008D2 285F movea.l A4, [A7]+
000008D4 4E5E unlink A6
000008D6 4E75 rts
fn000008D8:
000008D8 4E56 FFFE link A6, -0x0002
000008DC 2F0C move.l -[A7], A4
000008DE 286E 0008 movea.l A4, [A6 + 0x8]
000008E2 426E FFFE clr.w [A6 - 0x2]
000008E6 202C 0012 move.l D0, [A4 + 0x12]
000008EA 91AC 0016 sub.l [A4 + 0x16], D0
000008EE 0814 0003 btst.b [A4], 0x3
000008F2 6722 beq +0x24 /* 00000916 */
000008F4 202C 000E move.l D0, [A4 + 0xE]
000008F8 90AC 0006 sub.l D0, [A4 + 0x6]
000008FC 2940 0012 move.l [A4 + 0x12], D0
00000900 296C 0006 000E move.l [A4 + 0xE], [A4 + 0x6]
00000906 0894 0003 bclr.b [A4], 0x3
0000090A 2F0C move.l -[A7], A4
0000090C 4EBA 4ADE jsr [PC + 0x4ADE /* 000053EC */]
00000910 588F addq.l A7, 4
00000912 3D40 FFFE move.w [A6 - 0x2], D0
label00000916:
00000916 2F0C move.l -[A7], A4
00000918 4EBA 000E jsr [PC + 0xE /* 00000928 */]
0000091C 588F addq.l A7, 4
0000091E 302E FFFE move.w D0, [A6 - 0x2]
00000922 285F movea.l A4, [A7]+
00000924 4E5E unlink A6
00000926 4E75 rts
fn00000928:
00000928 4E56 0000 link A6, 0
0000092C 2F0C move.l -[A7], A4
0000092E 286E 0008 movea.l A4, [A6 + 0x8]
00000932 202C 0006 move.l D0, [A4 + 0x6]
00000936 D0AC 000A add.l D0, [A4 + 0xA]
0000093A 2940 000E move.l [A4 + 0xE], D0
0000093E 42AC 0012 clr.l [A4 + 0x12]
00000942 08AC 0007 0001 bclr.b [A4 + 0x1], 0x7
00000948 285F movea.l A4, [A7]+
0000094A 4E5E unlink A6
0000094C 4E75 rts
export_70:
0000094E 4E56 FE1E link A6, -0x01E2
00000952 486D FD2E pea.l [A5 - 0x2D2]
00000956 4EBA 085E jsr [PC + 0x85E /* 000011B6 */]
0000095A 588F addq.l A7, 4
0000095C 4EBA 01BE jsr [PC + 0x1BE /* 00000B1C */]
00000960 486D F88C pea.l [A5 - 0x774]
00000964 486E FE1E pea.l [A6 - 0x1E2]
00000968 4EBA 03B8 jsr [PC + 0x3B8 /* 00000D22 */]
0000096C 508F addq.l A7, 8
0000096E 3F3C 0004 move.w -[A7], 0x4
00000972 4EBA 02AC jsr [PC + 0x2AC /* 00000C20 */]
00000976 548F addq.l A7, 2
00000978 2F00 move.l -[A7], D0
0000097A 3F3C 0001 move.w -[A7], 0x1
0000097E A963 syscall SetControlValue/SetCtlValue
00000980 3F3C 0006 move.w -[A7], 0x6
00000984 4EBA 029A jsr [PC + 0x29A /* 00000C20 */]
00000988 548F addq.l A7, 2
0000098A 2F00 move.l -[A7], D0
0000098C 3F3C 0001 move.w -[A7], 0x1
00000990 A963 syscall SetControlValue/SetCtlValue
00000992 2F2D FA44 move.l -[A7], [A5 - 0x5BC]
00000996 A915 syscall ShowWindow
label00000998:
00000998 42A7 clr.l -[A7]
0000099A 486E FFFE pea.l [A6 - 0x2]
0000099E A991 syscall ModalDialog
000009A0 302E FFFE move.w D0, [A6 - 0x2]
000009A4 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
000009A8 0002 0009 ori.b D2, 0x9 /* '\t' */
000009AC 008E 0010 008A ori.l A6, 0x10008A
000009B2 0034 000E 006C ori.b [A4 + D0.w + 0x6C], 0xE
000009B8 0048 0046 ori.w A0, 0x46 /* 'F' */
000009BC 0066 4EBA ori.w -[A6], 0x4EBA
000009C0 485A pea.l [A2]+
000009C2 486E FF1E pea.l [A6 - 0xE2]
000009C6 4EBA 02DC jsr [PC + 0x2DC /* 00000CA4 */]
000009CA 588F addq.l A7, 4
000009CC 4A2E FF1E tst.b [A6 - 0xE2]
000009D0 6700 0068 beq +0x6A /* 00000A3A */
000009D4 41EE FFB2 lea.l A0, [A6 - 0x4E]
000009D8 43EE FF1E lea.l A1, [A6 - 0xE2]
000009DC 7011 moveq.l D0, 0x11
label000009DE:
000009DE 20D9 move.l [A0]+, [A1]+
000009E0 51C8 FFFC dbf D0, -0x6 /* 000009DE */
000009E4 30D9 move.w [A0]+, [A1]+
000009E6 302E FFFE move.w D0, [A6 - 0x2]
000009EA 3B40 FA50 move.w [A5 - 0x5B0], D0
000009EE 3F3C 0002 move.w -[A7], 0x2
000009F2 3F3C 0004 move.w -[A7], 0x4
000009F6 3F00 move.w -[A7], D0
000009F8 4EBA 0248 jsr [PC + 0x248 /* 00000C42 */]
000009FC 5C8F addq.l A7, 6
000009FE 603A bra +0x3C /* 00000A3A */
00000A00 486E FF1E pea.l [A6 - 0xE2]
00000A04 4EBA 02C6 jsr [PC + 0x2C6 /* 00000CCC */]
00000A08 588F addq.l A7, 4
00000A0A 4A2E FF1E tst.b [A6 - 0xE2]
00000A0E 672A beq +0x2C /* 00000A3A */
00000A10 41EE FF68 lea.l A0, [A6 - 0x98]
00000A14 43EE FF1E lea.l A1, [A6 - 0xE2]
00000A18 7011 moveq.l D0, 0x11
label00000A1A:
00000A1A 20D9 move.l [A0]+, [A1]+
00000A1C 51C8 FFFC dbf D0, -0x6 /* 00000A1A */
00000A20 30D9 move.w [A0]+, [A1]+
00000A22 302E FFFE move.w D0, [A6 - 0x2]
00000A26 3B40 FA52 move.w [A5 - 0x5AE], D0
00000A2A 3F3C 0004 move.w -[A7], 0x4
00000A2E 3F3C 0006 move.w -[A7], 0x6
00000A32 3F00 move.w -[A7], D0
00000A34 4EBA 020C jsr [PC + 0x20C /* 00000C42 */]
00000A38 5C8F addq.l A7, 6
label00000A3A:
00000A3A 0C6E 0001 FFFE cmpi.w [A6 - 0x2], 0x1
00000A40 6600 FF56 bne -0xA8 /* 00000998 */
00000A44 3F3C 0003 move.w -[A7], 0x3
00000A48 4EBA 01D6 jsr [PC + 0x1D6 /* 00000C20 */]
00000A4C 548F addq.l A7, 2
00000A4E 2F00 move.l -[A7], D0
00000A50 486D F88C pea.l [A5 - 0x774]
00000A54 A990 syscall GetDialogItemText/GetIText
00000A56 486D F88C pea.l [A5 - 0x774]
00000A5A 486D FA54 pea.l [A5 - 0x5AC]
00000A5E 486E FE1E pea.l [A6 - 0x1E2]
00000A62 4EBA 48D0 jsr [PC + 0x48D0 /* 00005334 */]
00000A66 4FEF 000C lea.l A7, [A7 + 0xC]
00000A6A 486D F88C pea.l [A5 - 0x774]
00000A6E 486E FE1E pea.l [A6 - 0x1E2]
00000A72 4EBA 03EE jsr [PC + 0x3EE /* 00000E62 */]
00000A76 508F addq.l A7, 8
00000A78 3D40 FFFC move.w [A6 - 0x4], D0
00000A7C 41ED F824 lea.l A0, [A5 - 0x7DC]
00000A80 226E 0008 movea.l A1, [A6 + 0x8]
00000A84 2288 move.l [A1], A0
00000A86 2F2D FA44 move.l -[A7], [A5 - 0x5BC]
00000A8A A983 syscall DisposeDialog
00000A8C 0C6D 0009 FA52 cmpi.w [A5 - 0x5AE], 0x9 /* '\t' */
00000A92 660C bne +0xE /* 00000AA0 */
00000A94 486D FD54 pea.l [A5 - 0x2AC]
00000A98 4EBA 07B0 jsr [PC + 0x7B0 /* 0000124A */]
00000A9C 588F addq.l A7, 4
00000A9E 6046 bra +0x48 /* 00000AE6 */
label00000AA0:
00000AA0 0C6D 0006 FA52 cmpi.w [A5 - 0x5AE], 0x6
00000AA6 673E beq +0x40 /* 00000AE6 */
00000AA8 486E FF68 pea.l [A6 - 0x98]
00000AAC 486E FF28 pea.l [A6 - 0xD8]
00000AB0 4EBA 023C jsr [PC + 0x23C /* 00000CEE */]
00000AB4 508F addq.l A7, 8
00000AB6 0C6D 0007 FA52 cmpi.w [A5 - 0x5AE], 0x7
00000ABC 6616 bne +0x18 /* 00000AD4 */
00000ABE 486D FD54 pea.l [A5 - 0x2AC]
00000AC2 486D FA58 pea.l [A5 - 0x5A8]
00000AC6 486E FF28 pea.l [A6 - 0xD8]
00000ACA 4EBA 2398 jsr [PC + 0x2398 /* 00002E64 */]
00000ACE 4FEF 000C lea.l A7, [A7 + 0xC]
00000AD2 6012 bra +0x14 /* 00000AE6 */
label00000AD4:
00000AD4 486D FD54 pea.l [A5 - 0x2AC]
00000AD8 4267 clr.w -[A7]
00000ADA 486E FF28 pea.l [A6 - 0xD8]
00000ADE 4EBA 0714 jsr [PC + 0x714 /* 000011F4 */]
00000AE2 4FEF 000A lea.l A7, [A7 + 0xA]
label00000AE6:
00000AE6 0C6D 0005 FA50 cmpi.w [A5 - 0x5B0], 0x5
00000AEC 6622 bne +0x24 /* 00000B10 */
00000AEE 486E FFB2 pea.l [A6 - 0x4E]
00000AF2 486E FF28 pea.l [A6 - 0xD8]
00000AF6 4EBA 01F6 jsr [PC + 0x1F6 /* 00000CEE */]
00000AFA 508F addq.l A7, 8
00000AFC 486D FD2E pea.l [A5 - 0x2D2]
00000B00 486D FA5A pea.l [A5 - 0x5A6]
00000B04 486E FF28 pea.l [A6 - 0xD8]
00000B08 4EBA 235A jsr [PC + 0x235A /* 00002E64 */]
00000B0C 4FEF 000C lea.l A7, [A7 + 0xC]
label00000B10:
00000B10 426D FCFA clr.w [A5 - 0x306]
00000B14 302E FFFC move.w D0, [A6 - 0x4]
00000B18 4E5E unlink A6
00000B1A 4E75 rts
fn00000B1C:
00000B1C 4E56 FFFC link A6, -0x0004
00000B20 41ED F98C lea.l A0, [A5 - 0x674]
00000B24 203C 0000 00B8 move.l D0, 0xB8
00000B2A A9E3 syscall PtrToHand
00000B2C 2D48 FFFC move.l [A6 - 0x4], A0
00000B30 42A7 clr.l -[A7]
00000B32 42A7 clr.l -[A7]
00000B34 486D FA48 pea.l [A5 - 0x5B8]
00000B38 486D FA5C pea.l [A5 - 0x5A4]
00000B3C 4267 clr.w -[A7]
00000B3E 3F3C 0001 move.w -[A7], 0x1
00000B42 4878 FFFF push.l 0xFFFF
00000B46 4267 clr.w -[A7]
00000B48 42A7 clr.l -[A7]
00000B4A 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000B4E A97D syscall NewDialog
00000B50 205F movea.l A0, [A7]+
00000B52 2B48 FA44 move.l [A5 - 0x5BC], A0
00000B56 3F3C 0001 move.w -[A7], 0x1
00000B5A 4EBA 00C4 jsr [PC + 0xC4 /* 00000C20 */]
00000B5E 548F addq.l A7, 2
00000B60 2F00 move.l -[A7], D0
00000B62 486D FA5E pea.l [A5 - 0x5A2]
00000B66 A95F syscall SetControlTitle/SetCTitle
00000B68 3F3C 0002 move.w -[A7], 0x2
00000B6C 4EBA 00B2 jsr [PC + 0xB2 /* 00000C20 */]
00000B70 548F addq.l A7, 2
00000B72 2F00 move.l -[A7], D0
00000B74 486D FA62 pea.l [A5 - 0x59E]
00000B78 A95F syscall SetControlTitle/SetCTitle
00000B7A 3F3C 0004 move.w -[A7], 0x4
00000B7E 4EBA 00A0 jsr [PC + 0xA0 /* 00000C20 */]
00000B82 548F addq.l A7, 2
00000B84 2F00 move.l -[A7], D0
00000B86 486D FA6A pea.l [A5 - 0x596]
00000B8A A95F syscall SetControlTitle/SetCTitle
00000B8C 3F3C 0005 move.w -[A7], 0x5
00000B90 4EBA 008E jsr [PC + 0x8E /* 00000C20 */]
00000B94 548F addq.l A7, 2
00000B96 2F00 move.l -[A7], D0
00000B98 486D FA72 pea.l [A5 - 0x58E]
00000B9C A95F syscall SetControlTitle/SetCTitle
00000B9E 3F3C 0006 move.w -[A7], 0x6
00000BA2 4EBA 007C jsr [PC + 0x7C /* 00000C20 */]
00000BA6 548F addq.l A7, 2
00000BA8 2F00 move.l -[A7], D0
00000BAA 486D FA78 pea.l [A5 - 0x588]
00000BAE A95F syscall SetControlTitle/SetCTitle
00000BB0 3F3C 0007 move.w -[A7], 0x7
00000BB4 4EBA 006A jsr [PC + 0x6A /* 00000C20 */]
00000BB8 548F addq.l A7, 2
00000BBA 2F00 move.l -[A7], D0
00000BBC 486D FA80 pea.l [A5 - 0x580]
00000BC0 A95F syscall SetControlTitle/SetCTitle
00000BC2 3F3C 0008 move.w -[A7], 0x8
00000BC6 4EBA 0058 jsr [PC + 0x58 /* 00000C20 */]
00000BCA 548F addq.l A7, 2
00000BCC 2F00 move.l -[A7], D0
00000BCE 486D FA86 pea.l [A5 - 0x57A]
00000BD2 A95F syscall SetControlTitle/SetCTitle
00000BD4 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00000BD8 4EBA 0046 jsr [PC + 0x46 /* 00000C20 */]
00000BDC 548F addq.l A7, 2
00000BDE 2F00 move.l -[A7], D0
00000BE0 486D FA94 pea.l [A5 - 0x56C]
00000BE4 A95F syscall SetControlTitle/SetCTitle
00000BE6 3F3C 000B move.w -[A7], 0xB
00000BEA 4EBA 0034 jsr [PC + 0x34 /* 00000C20 */]
00000BEE 548F addq.l A7, 2
00000BF0 2F00 move.l -[A7], D0
00000BF2 486D FAA4 pea.l [A5 - 0x55C]
00000BF6 A98F syscall SetDialogItemText/SetIText
00000BF8 3F3C 000C move.w -[A7], 0xC
00000BFC 4EBA 0022 jsr [PC + 0x22 /* 00000C20 */]
00000C00 548F addq.l A7, 2
00000C02 2F00 move.l -[A7], D0
00000C04 486D FAB4 pea.l [A5 - 0x54C]
00000C08 A98F syscall SetDialogItemText/SetIText
00000C0A 3F3C 000D move.w -[A7], 0xD /* '\r' */
00000C0E 4EBA 0010 jsr [PC + 0x10 /* 00000C20 */]
00000C12 548F addq.l A7, 2
00000C14 2F00 move.l -[A7], D0
00000C16 486D FAC6 pea.l [A5 - 0x53A]
00000C1A A98F syscall SetDialogItemText/SetIText
00000C1C 4E5E unlink A6
00000C1E 4E75 rts
fn00000C20:
00000C20 4E56 FFF2 link A6, -0x000E
00000C24 2F2D FA44 move.l -[A7], [A5 - 0x5BC]
00000C28 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000C2C 486E FFFE pea.l [A6 - 0x2]
00000C30 486E FFFA pea.l [A6 - 0x6]
00000C34 486E FFF2 pea.l [A6 - 0xE]
00000C38 A98D syscall GetDialogItem/GetDItem
00000C3A 202E FFFA move.l D0, [A6 - 0x6]
00000C3E 4E5E unlink A6
00000C40 4E75 rts
fn00000C42:
00000C42 4E56 0000 link A6, 0
00000C46 6022 bra +0x24 /* 00000C6A */
label00000C48:
00000C48 3F2E 000A move.w -[A7], [A6 + 0xA]
00000C4C 4EBA FFD2 jsr [PC - 0x2E /* 00000C20 */]
00000C50 548F addq.l A7, 2
00000C52 322E 0008 move.w D1, [A6 + 0x8]
00000C56 B26E 000A cmp.w D1, [A6 + 0xA]
00000C5A 57C1 seq D1
00000C5C 4401 neg.b D1
00000C5E 4881 ext.w D1
00000C60 2F00 move.l -[A7], D0
00000C62 3F01 move.w -[A7], D1
00000C64 A963 syscall SetControlValue/SetCtlValue
00000C66 526E 000A addq.w [A6 + 0xA], 1
label00000C6A:
00000C6A 302E 000C move.w D0, [A6 + 0xC]
00000C6E 536E 000C subq.w [A6 + 0xC], 1
00000C72 4A40 tst.w D0
00000C74 66D2 bne -0x2C /* 00000C48 */
00000C76 4E5E unlink A6
00000C78 4E75 rts
export_69:
00000C7A 4E56 0000 link A6, 0
00000C7E A89E syscall PenNormal
00000C80 3F3C 0003 move.w -[A7], 0x3
00000C84 3F3C 0003 move.w -[A7], 0x3
00000C88 A89B syscall PenSize
00000C8A 486D FA10 pea.l [A5 - 0x5F0]
00000C8E 3F3C 0010 move.w -[A7], 0x10
00000C92 3F3C 0010 move.w -[A7], 0x10
00000C96 A8B0 syscall FrameRoundRect
00000C98 A89E syscall PenNormal
00000C9A 4E5E unlink A6
00000C9C 205F movea.l A0, [A7]+
00000C9E 4FEF 0006 lea.l A7, [A7 + 0x6]
00000CA2 4ED0 jmp [A0]
fn00000CA4:
00000CA4 4E56 0000 link A6, 0
00000CA8 4879 005A 0052 push.l 0x5A0052 /* 'Z\0R' */
00000CAE 486D FAD4 pea.l [A5 - 0x52C]
00000CB2 42A7 clr.l -[A7]
00000CB4 3F3C 0001 move.w -[A7], 0x1
00000CB8 486D FAD6 pea.l [A5 - 0x52A]
00000CBC 42A7 clr.l -[A7]
00000CBE 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000CC2 3F3C 0002 move.w -[A7], 0x2
00000CC6 A9EA syscall Pack3
00000CC8 4E5E unlink A6
00000CCA 4E75 rts
fn00000CCC:
00000CCC 4E56 0000 link A6, 0
00000CD0 4879 006A 0068 push.l 0x6A0068 /* 'j\0h' */
00000CD6 486D FADC pea.l [A5 - 0x524]
00000CDA 486D FADE pea.l [A5 - 0x522]
00000CDE 42A7 clr.l -[A7]
00000CE0 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000CE4 3F3C 0001 move.w -[A7], 0x1
00000CE8 A9EA syscall Pack3
00000CEA 4E5E unlink A6
00000CEC 4E75 rts
fn00000CEE:
00000CEE 4E56 FFCE link A6, -0x0032
00000CF2 42AE FFE0 clr.l [A6 - 0x20]
00000CF6 206E 000C movea.l A0, [A6 + 0xC]
00000CFA 3D68 0006 FFE4 move.w [A6 - 0x1C], [A0 + 0x6]
00000D00 41EE FFCE lea.l A0, [A6 - 0x32]
00000D04 A015 syscall SetVol/PBHSetVol/HSetVol
00000D06 206E 000C movea.l A0, [A6 + 0xC]
00000D0A 4868 000A pea.l [A0 + 0xA]
00000D0E 486D FAE0 pea.l [A5 - 0x520]
00000D12 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000D16 4EBA 461C jsr [PC + 0x461C /* 00005334 */]
00000D1A 4FEF 000C lea.l A7, [A7 + 0xC]
00000D1E 4E5E unlink A6
00000D20 4E75 rts
fn00000D22:
00000D22 4E56 FFF2 link A6, -0x000E
00000D26 48E7 0018 movem.l -[A7], A3,A4
00000D2A 266E 000C movea.l A3, [A6 + 0xC]
00000D2E 426E FFFC clr.w [A6 - 0x4]
00000D32 426E FFFA clr.w [A6 - 0x6]
00000D36 426E FFF8 clr.w [A6 - 0x8]
00000D3A 426E FFF6 clr.w [A6 - 0xA]
00000D3E 286E 0008 movea.l A4, [A6 + 0x8]
00000D42 4878 0910 push.l 0x910
00000D46 486D FAE4 pea.l [A5 - 0x51C]
00000D4A 2F0C move.l -[A7], A4
00000D4C 4EBA 45E6 jsr [PC + 0x45E6 /* 00005334 */]
00000D50 4FEF 000C lea.l A7, [A7 + 0xC]
00000D54 602E bra +0x30 /* 00000D84 */
label00000D56:
00000D56 0C6E 0020 FFFE cmpi.w [A6 - 0x2], 0x20 /* ' ' */
00000D5C 6608 bne +0xA /* 00000D66 */
00000D5E 7001 moveq.l D0, 0x01
00000D60 3D40 FFFC move.w [A6 - 0x4], D0
00000D64 601E bra +0x20 /* 00000D84 */
label00000D66:
00000D66 0C6E 0022 FFFE cmpi.w [A6 - 0x2], 0x22 /* '\"' */
00000D6C 6608 bne +0xA /* 00000D76 */
00000D6E 7001 moveq.l D0, 0x01
00000D70 3D40 FFFA move.w [A6 - 0x6], D0
00000D74 600E bra +0x10 /* 00000D84 */
label00000D76:
00000D76 0C6E 0027 FFFE cmpi.w [A6 - 0x2], 0x27 /* '\'' */
00000D7C 6606 bne +0x8 /* 00000D84 */
00000D7E 7001 moveq.l D0, 0x01
00000D80 3D40 FFF8 move.w [A6 - 0x8], D0
label00000D84:
00000D84 41D4 lea.l A0, [A4]
00000D86 528C addq.l A4, 1
00000D88 1010 move.b D0, [A0]
00000D8A 4880 ext.w D0
00000D8C 3D40 FFFE move.w [A6 - 0x2], D0
00000D90 4A40 tst.w D0
00000D92 66C2 bne -0x3C /* 00000D56 */
00000D94 4A6E FFFC tst.w [A6 - 0x4]
00000D98 660C bne +0xE /* 00000DA6 */
00000D9A 4A6E FFFA tst.w [A6 - 0x6]
00000D9E 6606 bne +0x8 /* 00000DA6 */
00000DA0 4A6E FFF8 tst.w [A6 - 0x8]
00000DA4 672A beq +0x2C /* 00000DD0 */
label00000DA6:
00000DA6 41D3 lea.l A0, [A3]
00000DA8 528B addq.l A3, 1
00000DAA 4A6E FFFA tst.w [A6 - 0x6]
00000DAE 670C beq +0xE /* 00000DBC */
00000DB0 4A6E FFF8 tst.w [A6 - 0x8]
00000DB4 6606 bne +0x8 /* 00000DBC */
00000DB6 48E7 0080 movem.l -[A7], A0
00000DBA 6008 bra +0xA /* 00000DC4 */
label00000DBC:
00000DBC 48E7 0080 movem.l -[A7], A0
00000DC0 7022 moveq.l D0, 0x22
00000DC2 6002 bra +0x4 /* 00000DC6 */
label00000DC4:
00000DC4 7027 moveq.l D0, 0x27
label00000DC6:
00000DC6 4CDF 0100 movem.l A0, [A7]+
00000DCA 3D40 FFF6 move.w [A6 - 0xA], D0
00000DCE 1080 move.b [A0], D0
label00000DD0:
00000DD0 286E 0008 movea.l A4, [A6 + 0x8]
00000DD4 6022 bra +0x24 /* 00000DF8 */
label00000DD6:
00000DD6 302E FFFE move.w D0, [A6 - 0x2]
00000DDA B06E FFF6 cmp.w D0, [A6 - 0xA]
00000DDE 6708 beq +0xA /* 00000DE8 */
00000DE0 0C6E 005C FFFE cmpi.w [A6 - 0x2], 0x5C /* '\\' */
00000DE6 6608 bne +0xA /* 00000DF0 */
label00000DE8:
00000DE8 41D3 lea.l A0, [A3]
00000DEA 528B addq.l A3, 1
00000DEC 705C moveq.l D0, 0x5C
00000DEE 1080 move.b [A0], D0
label00000DF0:
00000DF0 41D3 lea.l A0, [A3]
00000DF2 528B addq.l A3, 1
00000DF4 10AE FFFF move.b [A0], [A6 - 0x1]
label00000DF8:
00000DF8 41D4 lea.l A0, [A4]
00000DFA 528C addq.l A4, 1
00000DFC 1010 move.b D0, [A0]
00000DFE 4880 ext.w D0
00000E00 3D40 FFFE move.w [A6 - 0x2], D0
00000E04 4A40 tst.w D0
00000E06 66CE bne -0x30 /* 00000DD6 */
00000E08 4A6E FFF6 tst.w [A6 - 0xA]
00000E0C 6708 beq +0xA /* 00000E16 */
00000E0E 41D3 lea.l A0, [A3]
00000E10 528B addq.l A3, 1
00000E12 10AE FFF7 move.b [A0], [A6 - 0x9]
label00000E16:
00000E16 41D3 lea.l A0, [A3]
00000E18 528B addq.l A3, 1
00000E1A 7020 moveq.l D0, 0x20
00000E1C 1080 move.b [A0], D0
00000E1E 41D3 lea.l A0, [A3]
00000E20 528B addq.l A3, 1
00000E22 4210 clr.b [A0]
00000E24 3F3C 0003 move.w -[A7], 0x3
00000E28 4EBA FDF6 jsr [PC - 0x20A /* 00000C20 */]
00000E2C 548F addq.l A7, 2
00000E2E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000E32 2F2E 000C move.l -[A7], [A6 + 0xC]
00000E36 2D40 FFF2 move.l [A6 - 0xE], D0
00000E3A 4EBA 443C jsr [PC + 0x443C /* 00005278 */]
00000E3E 508F addq.l A7, 8
00000E40 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000E44 2F00 move.l -[A7], D0
00000E46 A98F syscall SetDialogItemText/SetIText
00000E48 2F2D FA44 move.l -[A7], [A5 - 0x5BC]
00000E4C 3F3C 0003 move.w -[A7], 0x3
00000E50 3F3C 270F move.w -[A7], 0x270F
00000E54 3F3C 270F move.w -[A7], 0x270F
00000E58 A97E syscall SelectDialogItemText/SelIText
00000E5A 4CDF 1800 movem.l A3,A4, [A7]+
00000E5E 4E5E unlink A6
00000E60 4E75 rts
fn00000E62:
00000E62 4E56 FFFA link A6, -0x0006
00000E66 48E7 0018 movem.l -[A7], A3,A4
00000E6A 286E 0008 movea.l A4, [A6 + 0x8]
00000E6E 266E 000C movea.l A3, [A6 + 0xC]
00000E72 426E FFFC clr.w [A6 - 0x4]
00000E76 426E FFFA clr.w [A6 - 0x6]
00000E7A 6000 009A bra +0x9C /* 00000F16 */
label00000E7E:
00000E7E 0C6E 0020 FFFE cmpi.w [A6 - 0x2], 0x20 /* ' ' */
00000E84 6700 0090 beq +0x92 /* 00000F16 */
00000E88 0C6E 0019 FFFA cmpi.w [A6 - 0x6], 0x19
00000E8E 6C14 bge +0x16 /* 00000EA4 */
00000E90 302E FFFA move.w D0, [A6 - 0x6]
00000E94 526E FFFA addq.w [A6 - 0x6], 1
00000E98 48C0 ext.l D0
00000E9A E580 asl D0, 2
00000E9C 41ED F824 lea.l A0, [A5 - 0x7DC]
00000EA0 D1C0 add.l A0, D0
00000EA2 208B move.l [A0], A3
label00000EA4:
00000EA4 0C6E 005C FFFE cmpi.w [A6 - 0x2], 0x5C /* '\\' */
00000EAA 6612 bne +0x14 /* 00000EBE */
00000EAC 4A14 tst.b [A4]
00000EAE 670E beq +0x10 /* 00000EBE */
00000EB0 41D4 lea.l A0, [A4]
00000EB2 528C addq.l A4, 1
00000EB4 1010 move.b D0, [A0]
00000EB6 4880 ext.w D0
00000EB8 3D40 FFFE move.w [A6 - 0x2], D0
00000EBC 602E bra +0x30 /* 00000EEC */
label00000EBE:
00000EBE 0C6E 0022 FFFE cmpi.w [A6 - 0x2], 0x22 /* '\"' */
00000EC4 6708 beq +0xA /* 00000ECE */
00000EC6 0C6E 0027 FFFE cmpi.w [A6 - 0x2], 0x27 /* '\'' */
00000ECC 661E bne +0x20 /* 00000EEC */
label00000ECE:
00000ECE 4A6E FFFC tst.w [A6 - 0x4]
00000ED2 6608 bne +0xA /* 00000EDC */
00000ED4 3D6E FFFE FFFC move.w [A6 - 0x4], [A6 - 0x2]
00000EDA 6018 bra +0x1A /* 00000EF4 */
label00000EDC:
00000EDC 302E FFFE move.w D0, [A6 - 0x2]
00000EE0 B06E FFFC cmp.w D0, [A6 - 0x4]
00000EE4 6606 bne +0x8 /* 00000EEC */
00000EE6 426E FFFC clr.w [A6 - 0x4]
00000EEA 6008 bra +0xA /* 00000EF4 */
label00000EEC:
00000EEC 41D3 lea.l A0, [A3]
00000EEE 528B addq.l A3, 1
00000EF0 10AE FFFF move.b [A0], [A6 - 0x1]
label00000EF4:
00000EF4 4A14 tst.b [A4]
00000EF6 6718 beq +0x1A /* 00000F10 */
00000EF8 41D4 lea.l A0, [A4]
00000EFA 528C addq.l A4, 1
00000EFC 1010 move.b D0, [A0]
00000EFE 4880 ext.w D0
00000F00 3D40 FFFE move.w [A6 - 0x2], D0
00000F04 0C40 0020 cmpi.w D0, 0x20 /* ' ' */
00000F08 669A bne -0x64 /* 00000EA4 */
00000F0A 4A6E FFFC tst.w [A6 - 0x4]
00000F0E 6694 bne -0x6A /* 00000EA4 */
label00000F10:
00000F10 41D3 lea.l A0, [A3]
00000F12 528B addq.l A3, 1
00000F14 4210 clr.b [A0]
label00000F16:
00000F16 41D4 lea.l A0, [A4]
00000F18 528C addq.l A4, 1
00000F1A 1010 move.b D0, [A0]
00000F1C 4880 ext.w D0
00000F1E 3D40 FFFE move.w [A6 - 0x2], D0
00000F22 4A40 tst.w D0
00000F24 6600 FF58 bne -0xA6 /* 00000E7E */
00000F28 302E FFFA move.w D0, [A6 - 0x6]
00000F2C 4CDF 1800 movem.l A3,A4, [A7]+
00000F30 4E5E unlink A6
00000F32 4E75 rts
00000F34 4EBA 291A jsr [PC + 0x291A /* 00003850 */]
00000F38 2F00 move.l -[A7], D0
00000F3A 42A7 clr.l -[A7]
00000F3C 4EBA 0006 jsr [PC + 0x6 /* 00000F44 */]
00000F40 508F addq.l A7, 8
00000F42 4E75 rts
fn00000F44:
00000F44 4E56 0000 link A6, 0
00000F48 48E7 0018 movem.l -[A7], A3,A4
00000F4C 286E 0008 movea.l A4, [A6 + 0x8]
00000F50 266E 000C movea.l A3, [A6 + 0xC]
00000F54 B6FC 0000 cmpa.w A3, 0x0
00000F58 6606 bne +0x8 /* 00000F60 */
00000F5A 7000 moveq.l D0, 0x00
00000F5C 6000 0054 bra +0x56 /* 00000FB2 */
label00000F60:
00000F60 4A38 08F2 tst.b [0x000008F2 /* WWExist */]
00000F64 6704 beq +0x6 /* 00000F6A */
00000F66 4EBA 03A8 jsr [PC + 0x3A8 /* 00001310 */]
label00000F6A:
00000F6A 2F0B move.l -[A7], A3
00000F6C 4EBA 2AE4 jsr [PC + 0x2AE4 /* 00003A52 */]
00000F70 588F addq.l A7, 4
00000F72 70FF moveq.l D0, 0xFFFFFFFF
00000F74 3740 0004 move.w [A3 + 0x4], D0
00000F78 200C move.l D0, A4
00000F7A 6706 beq +0x8 /* 00000F82 */
00000F7C 202C 001E move.l D0, [A4 + 0x1E]
00000F80 6004 bra +0x6 /* 00000F86 */
label00000F82:
00000F82 4EBA 0576 jsr [PC + 0x576 /* 000014FA */]
label00000F86:
00000F86 2740 001E move.l [A3 + 0x1E], D0
00000F8A 4878 0200 push.l 0x200
00000F8E 3F3C 0001 move.w -[A7], 0x1
00000F92 42A7 clr.l -[A7]
00000F94 2F0B move.l -[A7], A3
00000F96 4EBA 29BA jsr [PC + 0x29BA /* 00003952 */]
00000F9A 4FEF 000E lea.l A7, [A7 + 0xE]
00000F9E 41ED 025A lea.l A0, [A5 + 0x25A /* export_71 */]
00000FA2 2748 0022 move.l [A3 + 0x22], A0
00000FA6 486D 0262 pea.l [A5 + 0x262 /* export_72 */]
00000FAA 4EBA F6CA jsr [PC - 0x936 /* 00000676 */]
00000FAE 588F addq.l A7, 4
00000FB0 200B move.l D0, A3
label00000FB2:
00000FB2 4CDF 1800 movem.l A3,A4, [A7]+
00000FB6 4E5E unlink A6
00000FB8 4E75 rts
00000FBA 4E56 FFF8 link A6, -0x0008
00000FBE 2F2E 000C move.l -[A7], [A6 + 0xC]
00000FC2 4EBA 0742 jsr [PC + 0x742 /* 00001706 */]
00000FC6 588F addq.l A7, 4
00000FC8 486E FFF8 pea.l [A6 - 0x8]
00000FCC 2F00 move.l -[A7], D0
00000FCE 4EBA 0FAC jsr [PC + 0xFAC /* 00001F7C */]
00000FD2 508F addq.l A7, 8
00000FD4 302E 0008 move.w D0, [A6 + 0x8]
00000FD8 5340 subq.w D0, 1
00000FDA 3B40 FB0E move.w [A5 - 0x4F2], D0
00000FDE 302E 000A move.w D0, [A6 + 0xA]
00000FE2 5340 subq.w D0, 1
00000FE4 3B40 FB0C move.w [A5 - 0x4F4], D0
00000FE8 486E FFF8 pea.l [A6 - 0x8]
00000FEC 4EBA 1000 jsr [PC + 0x1000 /* 00001FEE */]
00000FF0 588F addq.l A7, 4
00000FF2 4E5E unlink A6
00000FF4 4E75 rts
00000FF6 4E56 FFF8 link A6, -0x0008
00000FFA 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000FFE 4EBA 0706 jsr [PC + 0x706 /* 00001706 */]
00001002 588F addq.l A7, 4
00001004 486E FFF8 pea.l [A6 - 0x8]
00001008 2F00 move.l -[A7], D0
0000100A 4EBA 0F70 jsr [PC + 0xF70 /* 00001F7C */]
0000100E 508F addq.l A7, 8
00001010 302D FB0E move.w D0, [A5 - 0x4F2]
00001014 5240 addq.w D0, 1
00001016 206E 0008 movea.l A0, [A6 + 0x8]
0000101A 3080 move.w [A0], D0
0000101C 302D FB0C move.w D0, [A5 - 0x4F4]
00001020 5240 addq.w D0, 1
00001022 206E 000C movea.l A0, [A6 + 0xC]
00001026 3080 move.w [A0], D0
00001028 486E FFF8 pea.l [A6 - 0x8]
0000102C 4EBA 0FC0 jsr [PC + 0xFC0 /* 00001FEE */]
00001030 588F addq.l A7, 4
00001032 4E5E unlink A6
00001034 4E75 rts
00001036 4E56 FFF8 link A6, -0x0008
0000103A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000103E 4EBA 06C6 jsr [PC + 0x6C6 /* 00001706 */]
00001042 588F addq.l A7, 4
00001044 486E FFF8 pea.l [A6 - 0x8]
00001048 2F00 move.l -[A7], D0
0000104A 4EBA 0F30 jsr [PC + 0xF30 /* 00001F7C */]
0000104E 508F addq.l A7, 8
00001050 3F2D FB0C move.w -[A7], [A5 - 0x4F4]
00001054 4EBA 0990 jsr [PC + 0x990 /* 000019E6 */]
00001058 548F addq.l A7, 2
0000105A 486E FFF8 pea.l [A6 - 0x8]
0000105E 4EBA 0F8E jsr [PC + 0xF8E /* 00001FEE */]
00001062 588F addq.l A7, 4
00001064 4E5E unlink A6
00001066 4E75 rts
00001068 4E56 FFF8 link A6, -0x0008
0000106C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001070 4EBA 0694 jsr [PC + 0x694 /* 00001706 */]
00001074 588F addq.l A7, 4
00001076 486E FFF8 pea.l [A6 - 0x8]
0000107A 2F00 move.l -[A7], D0
0000107C 4EBA 0EFE jsr [PC + 0xEFE /* 00001F7C */]
00001080 508F addq.l A7, 8
00001082 4EBA 09AC jsr [PC + 0x9AC /* 00001A30 */]
00001086 486E FFF8 pea.l [A6 - 0x8]
0000108A 4EBA 0F62 jsr [PC + 0xF62 /* 00001FEE */]
0000108E 588F addq.l A7, 4
00001090 4E5E unlink A6
00001092 4E75 rts
00001094 4E56 FFF8 link A6, -0x0008
00001098 2F2E 000A move.l -[A7], [A6 + 0xA]
0000109C 4EBA 0668 jsr [PC + 0x668 /* 00001706 */]
000010A0 588F addq.l A7, 4
000010A2 486E FFF8 pea.l [A6 - 0x8]
000010A6 2F00 move.l -[A7], D0
000010A8 4EBA 0ED2 jsr [PC + 0xED2 /* 00001F7C */]
000010AC 508F addq.l A7, 8
000010AE 0C6E 0001 0008 cmpi.w [A6 + 0x8], 0x1
000010B4 6D0A blt +0xC /* 000010C0 */
000010B6 302E 0008 move.w D0, [A6 + 0x8]
000010BA B06D FB0A cmp.w D0, [A5 - 0x4F6]
000010BE 6F06 ble +0x8 /* 000010C6 */
label000010C0:
000010C0 7001 moveq.l D0, 0x01
000010C2 3D40 0008 move.w [A6 + 0x8], D0
label000010C6:
000010C6 3B6E 0008 FB10 move.w [A5 - 0x4F0], [A6 + 0x8]
000010CC 486E FFF8 pea.l [A6 - 0x8]
000010D0 4EBA 0F1C jsr [PC + 0xF1C /* 00001FEE */]
000010D4 588F addq.l A7, 4
000010D6 4E5E unlink A6
000010D8 4E75 rts
000010DA 4E56 FFF8 link A6, -0x0008
000010DE 2F2E 000A move.l -[A7], [A6 + 0xA]
000010E2 4EBA 0622 jsr [PC + 0x622 /* 00001706 */]
000010E6 588F addq.l A7, 4
000010E8 486E FFF8 pea.l [A6 - 0x8]
000010EC 2F00 move.l -[A7], D0
000010EE 4EBA 0E8C jsr [PC + 0xE8C /* 00001F7C */]
000010F2 508F addq.l A7, 8
000010F4 08AD 0005 FB2A bclr.b [A5 - 0x4D6], 0x5
000010FA 08AD 0006 FB2A bclr.b [A5 - 0x4D6], 0x6
00001100 08AD 0007 FB2A bclr.b [A5 - 0x4D6], 0x7
00001106 302E 0008 move.w D0, [A6 + 0x8]
0000110A 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
0000110E 0000 0003 ori.b D0, 0x3
00001112 0020 0008 ori.b -[A0], 0x8
00001116 000E 001A ori.b A6, 0x1A
0000111A 0012 08ED ori.b [A2], 0xED
0000111E 0007 FB2A ori.b D7, 0x2A /* '*' */
00001122 600E bra +0x10 /* 00001132 */
00001124 08ED 0006 FB2A bset.b [A5 - 0x4D6], 0x6
0000112A 6006 bra +0x8 /* 00001132 */
0000112C 08ED 0005 FB2A bset.b [A5 - 0x4D6], 0x5
label00001132:
00001132 486E FFF8 pea.l [A6 - 0x8]
00001136 4EBA 0EB6 jsr [PC + 0xEB6 /* 00001FEE */]
0000113A 588F addq.l A7, 4
0000113C 4E5E unlink A6
0000113E 4E75 rts
00001140 4E56 FFF8 link A6, -0x0008
00001144 2F0C move.l -[A7], A4
00001146 2F2E 000A move.l -[A7], [A6 + 0xA]
0000114A 4EBA 05BA jsr [PC + 0x5BA /* 00001706 */]
0000114E 588F addq.l A7, 4
00001150 2840 movea.l A4, D0
00001152 486E FFF8 pea.l [A6 - 0x8]
00001156 2F0C move.l -[A7], A4
00001158 4EBA 0E22 jsr [PC + 0xE22 /* 00001F7C */]
0000115C 508F addq.l A7, 8
0000115E 4A6E 0008 tst.w [A6 + 0x8]
00001162 6726 beq +0x28 /* 0000118A */
00001164 4AAC 0068 tst.l [A4 + 0x68]
00001168 6634 bne +0x36 /* 0000119E */
0000116A 4878 0034 push.l 0x34 /* '4' */
0000116E 4EBA F1AA jsr [PC - 0xE56 /* 0000031A */]
00001172 588F addq.l A7, 4
00001174 2940 0068 move.l [A4 + 0x68], D0
00001178 2F2C 0068 move.l -[A7], [A4 + 0x68]
0000117C A8EA syscall SetStdProcs
0000117E 41ED 026A lea.l A0, [A5 + 0x26A /* export_73 */]
00001182 226C 0068 movea.l A1, [A4 + 0x68]
00001186 2288 move.l [A1], A0
00001188 6014 bra +0x16 /* 0000119E */
label0000118A:
0000118A 4AAC 0068 tst.l [A4 + 0x68]
0000118E 670E beq +0x10 /* 0000119E */
00001190 2F2C 0068 move.l -[A7], [A4 + 0x68]
00001194 4EBA F358 jsr [PC - 0xCA8 /* 000004EE */]
00001198 588F addq.l A7, 4
0000119A 42AC 0068 clr.l [A4 + 0x68]
label0000119E:
0000119E 4267 clr.w -[A7]
000011A0 4EBA 0844 jsr [PC + 0x844 /* 000019E6 */]
000011A4 548F addq.l A7, 2
000011A6 486E FFF8 pea.l [A6 - 0x8]
000011AA 4EBA 0E42 jsr [PC + 0xE42 /* 00001FEE */]
000011AE 588F addq.l A7, 4
000011B0 285F movea.l A4, [A7]+
000011B2 4E5E unlink A6
000011B4 4E75 rts
fn000011B6:
000011B6 4E56 FFFC link A6, -0x0004
000011BA 2F0C move.l -[A7], A4
000011BC 286E 0008 movea.l A4, [A6 + 0x8]
000011C0 2F0C move.l -[A7], A4
000011C2 4EBA 0542 jsr [PC + 0x542 /* 00001706 */]
000011C6 588F addq.l A7, 4
000011C8 2D40 FFFC move.l [A6 - 0x4], D0
000011CC 2F2E FFFC move.l -[A7], [A6 - 0x4]
000011D0 A91F syscall SelectWindow
000011D2 2F2E FFFC move.l -[A7], [A6 - 0x4]
000011D6 A915 syscall ShowWindow
000011D8 285F movea.l A4, [A7]+
000011DA 4E5E unlink A6
000011DC 4E75 rts
000011DE 4E56 0000 link A6, 0
000011E2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000011E6 4EBA 051E jsr [PC + 0x51E /* 00001706 */]
000011EA 588F addq.l A7, 4
000011EC 2F00 move.l -[A7], D0
000011EE A916 syscall HideWindow
000011F0 4E5E unlink A6
000011F2 4E75 rts
fn000011F4:
000011F4 4E56 FFF8 link A6, -0x0008
000011F8 2F2E 000E move.l -[A7], [A6 + 0xE]
000011FC 4EBA 0508 jsr [PC + 0x508 /* 00001706 */]
00001200 588F addq.l A7, 4
00001202 486E FFF8 pea.l [A6 - 0x8]
00001206 2F00 move.l -[A7], D0
00001208 4EBA 0D72 jsr [PC + 0xD72 /* 00001F7C */]
0000120C 508F addq.l A7, 8
0000120E 4EBA 04D8 jsr [PC + 0x4D8 /* 000016E8 */]
00001212 4A6E 000C tst.w [A6 + 0xC]
00001216 6708 beq +0xA /* 00001220 */
00001218 41ED FB94 lea.l A0, [A5 - 0x46C]
0000121C 2008 move.l D0, A0
0000121E 6006 bra +0x8 /* 00001226 */
label00001220:
00001220 41ED FB96 lea.l A0, [A5 - 0x46A]
00001224 2008 move.l D0, A0
label00001226:
00001226 2F00 move.l -[A7], D0
00001228 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000122C 4EBA 1C18 jsr [PC + 0x1C18 /* 00002E46 */]
00001230 508F addq.l A7, 8
00001232 2B40 FB26 move.l [A5 - 0x4DA], D0
00001236 08AD 0002 FB2A bclr.b [A5 - 0x4D6], 0x2
0000123C 486E FFF8 pea.l [A6 - 0x8]
00001240 4EBA 0DAC jsr [PC + 0xDAC /* 00001FEE */]
00001244 588F addq.l A7, 4
00001246 4E5E unlink A6
00001248 4E75 rts
fn0000124A:
0000124A 4E56 FFF8 link A6, -0x0008
0000124E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001252 4EBA 04B2 jsr [PC + 0x4B2 /* 00001706 */]
00001256 588F addq.l A7, 4
00001258 486E FFF8 pea.l [A6 - 0x8]
0000125C 2F00 move.l -[A7], D0
0000125E 4EBA 0D1C jsr [PC + 0xD1C /* 00001F7C */]
00001262 508F addq.l A7, 8
00001264 4EBA 0482 jsr [PC + 0x482 /* 000016E8 */]
00001268 4EBA 1AE4 jsr [PC + 0x1AE4 /* 00002D4E */]
0000126C 2B40 FB26 move.l [A5 - 0x4DA], D0
00001270 08ED 0002 FB2A bset.b [A5 - 0x4D6], 0x2
00001276 486E FFF8 pea.l [A6 - 0x8]
0000127A 4EBA 0D72 jsr [PC + 0xD72 /* 00001FEE */]
0000127E 588F addq.l A7, 4
00001280 4E5E unlink A6
00001282 4E75 rts
fn00001284:
00001284 4E56 FFD4 link A6, -0x002C
00001288 42AE FFFC clr.l [A6 - 0x4]
0000128C 082D 0007 FD2E btst.b [A5 - 0x2D2], 0x7
00001292 6712 beq +0x14 /* 000012A6 */
00001294 486D FD2E pea.l [A5 - 0x2D2]
00001298 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000129C 4EBA FCA6 jsr [PC - 0x35A /* 00000F44 */]
000012A0 508F addq.l A7, 8
000012A2 2D40 FFFC move.l [A6 - 0x4], D0
label000012A6:
000012A6 082D 0007 FD54 btst.b [A5 - 0x2AC], 0x7
000012AC 6712 beq +0x14 /* 000012C0 */
000012AE 486D FD54 pea.l [A5 - 0x2AC]
000012B2 2F2E FFFC move.l -[A7], [A6 - 0x4]
000012B6 4EBA FC8C jsr [PC - 0x374 /* 00000F44 */]
000012BA 508F addq.l A7, 8
000012BC 2D40 FFFC move.l [A6 - 0x4], D0
label000012C0:
000012C0 082D 0007 FD7A btst.b [A5 - 0x286], 0x7
000012C6 6712 beq +0x14 /* 000012DA */
000012C8 486D FD7A pea.l [A5 - 0x286]
000012CC 2F2E FFFC move.l -[A7], [A6 - 0x4]
000012D0 4EBA FC72 jsr [PC - 0x38E /* 00000F44 */]
000012D4 508F addq.l A7, 8
000012D6 2D40 FFFC move.l [A6 - 0x4], D0
label000012DA:
000012DA 4A2D FAFE tst.b [A5 - 0x502]
000012DE 672C beq +0x2E /* 0000130C */
000012E0 4878 0910 push.l 0x910
000012E4 486D FB98 pea.l [A5 - 0x468]
000012E8 486E FFD4 pea.l [A6 - 0x2C]
000012EC 4EBA 4046 jsr [PC + 0x4046 /* 00005334 */]
000012F0 4FEF 000C lea.l A7, [A7 + 0xC]
000012F4 486D FD54 pea.l [A5 - 0x2AC]
000012F8 3F3C 0001 move.w -[A7], 0x1
000012FC 486E FFD4 pea.l [A6 - 0x2C]
00001300 4EBA FEF2 jsr [PC - 0x10E /* 000011F4 */]
00001304 4FEF 000A lea.l A7, [A7 + 0xA]
00001308 426D FAFC clr.w [A5 - 0x504]
label0000130C:
0000130C 4E5E unlink A6
0000130E 4E75 rts
fn00001310:
00001310 4E56 FFFC link A6, -0x0004
00001314 7209 moveq.l D1, 0x09
00001316 4A78 028E tst.w [0x0000028E /* ROM85 */]
0000131A 6B02 bmi +0x4 /* 0000131E */
0000131C A063 syscall MaxApplZone
label0000131E:
0000131E A036 syscall MoreMasters
00001320 51C9 FFFC dbf D1, -0x6 /* 0000131E */
00001324 203C 0000 00CE move.l D0, 0xCE
0000132A A11E syscall NewPtr, flags=1
0000132C 4868 00CA pea.l [A0 + 0xCA]
00001330 A86E syscall InitGraf
00001332 A8FE syscall InitFonts
00001334 A912 syscall InitWindows
00001336 A9CC syscall TEInit
00001338 42A7 clr.l -[A7]
0000133A A97B syscall InitDialogs
0000133C A930 syscall InitMenus
0000133E 42A7 clr.l -[A7]
00001340 3F3C 0001 move.w -[A7], 0x1
00001344 486D FBA0 pea.l [A5 - 0x460]
00001348 A931 syscall NewMenu
0000134A 205F movea.l A0, [A7]+
0000134C 2B48 FB32 move.l [A5 - 0x4CE], A0
00001350 4850 pea.l [A0]
00001352 4267 clr.w -[A7]
00001354 A935 syscall InsertMenu
00001356 2F2D FB32 move.l -[A7], [A5 - 0x4CE]
0000135A 4879 4452 5652 push.l 0x44525652 /* 'DRVR' */
00001360 A94D syscall AppendResMenu/AddResMenu
00001362 42A7 clr.l -[A7]
00001364 3F3C 0002 move.w -[A7], 0x2
00001368 486D FBA2 pea.l [A5 - 0x45E]
0000136C A931 syscall NewMenu
0000136E 205F movea.l A0, [A7]+
00001370 2D48 FFFC move.l [A6 - 0x4], A0
00001374 4850 pea.l [A0]
00001376 4267 clr.w -[A7]
00001378 A935 syscall InsertMenu
0000137A 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000137E 486D FBA8 pea.l [A5 - 0x458]
00001382 A933 syscall AppendMenu
00001384 42A7 clr.l -[A7]
00001386 3F3C 0003 move.w -[A7], 0x3
0000138A 486D FBB0 pea.l [A5 - 0x450]
0000138E A931 syscall NewMenu
00001390 205F movea.l A0, [A7]+
00001392 2D48 FFFC move.l [A6 - 0x4], A0
00001396 4850 pea.l [A0]
00001398 4267 clr.w -[A7]
0000139A A935 syscall InsertMenu
0000139C 2F2E FFFC move.l -[A7], [A6 - 0x4]
000013A0 486D FBB6 pea.l [A5 - 0x44A]
000013A4 A933 syscall AppendMenu
000013A6 A937 syscall DrawMenuBar
000013A8 7000 moveq.l D0, 0x00
000013AA 5340 subq.w D0, 1
000013AC A032 syscall FlushEvents
000013AE A850 syscall InitCursor
000013B0 7001 moveq.l D0, 0x01
000013B2 1B40 FB2C move.b [A5 - 0x4D4], D0
000013B6 4E5E unlink A6
000013B8 4E75 rts
fn000013BA:
000013BA 4E56 FEE6 link A6, -0x011A
000013BE 4AAD FB1A tst.l [A5 - 0x4E6]
000013C2 6700 005A beq +0x5C /* 0000141E */
000013C6 202D FB1E move.l D0, [A5 - 0x4E2]
000013CA 52AD FB1E addq.l [A5 - 0x4E2], 1
000013CE 206D FB1A movea.l A0, [A5 - 0x4E6]
000013D2 D090 add.l D0, [A0]
000013D4 2040 movea.l A0, D0
000013D6 7000 moveq.l D0, 0x00
000013D8 1010 move.b D0, [A0]
000013DA 3D40 FFFE move.w [A6 - 0x2], D0
000013DE 202D FB1E move.l D0, [A5 - 0x4E2]
000013E2 B0AD FB22 cmp.l D0, [A5 - 0x4DE]
000013E6 660C bne +0xE /* 000013F4 */
000013E8 2F2D FB1A move.l -[A7], [A5 - 0x4E6]
000013EC 4EBA 172E jsr [PC + 0x172E /* 00002B1C */]
000013F0 42AD FB1A clr.l [A5 - 0x4E6]
label000013F4:
000013F4 082D 0003 FB2A btst.b [A5 - 0x4D6], 0x3
000013FA 6706 beq +0x8 /* 00001402 */
000013FC 026E 007F FFFE andi.w [A6 - 0x2], 0x7F
label00001402:
00001402 0C6E 0009 FFFE cmpi.w [A6 - 0x2], 0x9 /* '\t' */
00001408 6606 bne +0x8 /* 00001410 */
0000140A 7020 moveq.l D0, 0x20
0000140C 3D40 FFFE move.w [A6 - 0x2], D0
label00001410:
00001410 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001414 4EBA 11C6 jsr [PC + 0x11C6 /* 000025DC */]
00001418 548F addq.l A7, 2
0000141A 6000 00DA bra +0xDC /* 000014F6 */
label0000141E:
0000141E A9B4 syscall SystemTask
00001420 4238 015C clr.b [0x0000015C /* SEvtEnb */]
00001424 4267 clr.w -[A7]
00001426 3F3C FFFF move.w -[A7], 0xFFFF
0000142A 486E FFEE pea.l [A6 - 0x12]
0000142E A970 syscall GetNextEvent
00001430 101F move.b D0, [A7]+
00001432 4A00 tst.b D0
00001434 6712 beq +0x14 /* 00001448 */
00001436 4267 clr.w -[A7]
00001438 486E FFEE pea.l [A6 - 0x12]
0000143C A9B2 syscall SystemEvent
0000143E 101F move.b D0, [A7]+
00001440 4A00 tst.b D0
00001442 6720 beq +0x22 /* 00001464 */
00001444 6000 00B0 bra +0xB2 /* 000014F6 */
label00001448:
00001448 4A6E FFEE tst.w [A6 - 0x12]
0000144C 6600 00A8 bne +0xAA /* 000014F6 */
00001450 42A7 clr.l -[A7]
00001452 A924 syscall FrontWindow
00001454 205F movea.l A0, [A7]+
00001456 B0FC 0000 cmpa.w A0, 0x0
0000145A 6600 009A bne +0x9C /* 000014F6 */
0000145E A850 syscall InitCursor
00001460 6000 0094 bra +0x96 /* 000014F6 */
label00001464:
00001464 0C6E 0001 FFEE cmpi.w [A6 - 0x12], 0x1
0000146A 6600 008A bne +0x8C /* 000014F6 */
0000146E 4267 clr.w -[A7]
00001470 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00001474 486E FFEA pea.l [A6 - 0x16]
00001478 A92C syscall FindWindow
0000147A 301F move.w D0, [A7]+
0000147C 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00001480 0001 0002 ori.b D1, 0x2
00001484 0072 0004 0014 ori.w [A2 + D0.w + 0x14], 0x4
0000148A A850 syscall InitCursor
0000148C 42A7 clr.l -[A7]
0000148E 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00001492 A93D syscall MenuSelect
00001494 201F move.l D0, [A7]+
00001496 2D40 FFE6 move.l [A6 - 0x1A], D0
0000149A 600E bra +0x10 /* 000014AA */
0000149C 486E FFEE pea.l [A6 - 0x12]
000014A0 2F2E FFEA move.l -[A7], [A6 - 0x16]
000014A4 A9B3 syscall SystemClick
000014A6 6000 004E bra +0x50 /* 000014F6 */
label000014AA:
000014AA 302E FFE6 move.w D0, [A6 - 0x1A]
000014AE 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
000014B2 0001 0003 ori.b D1, 0x3
000014B6 003C 0006 ori.b ccr, 6
000014BA 001E 0028 ori.b [A6]+, 0x28 /* '(' */
000014BE 2F2D FB32 move.l -[A7], [A5 - 0x4CE]
000014C2 3F2E FFE8 move.w -[A7], [A6 - 0x18]
000014C6 486E FEE6 pea.l [A6 - 0x11A]
000014CA A946 syscall GetMenuItemText/GetItem
000014CC 4267 clr.w -[A7]
000014CE 486E FEE6 pea.l [A6 - 0x11A]
000014D2 A9B6 syscall OpenDeskAcc
000014D4 301F move.w D0, [A7]+
000014D6 601A bra +0x1C /* 000014F2 */
000014D8 426D FAFC clr.w [A5 - 0x504]
000014DC 4267 clr.w -[A7]
000014DE 4EBA F1DC jsr [PC - 0xE24 /* 000006BC */]
000014E2 548F addq.l A7, 2
000014E4 4267 clr.w -[A7]
000014E6 302E FFE8 move.w D0, [A6 - 0x18]
000014EA 5340 subq.w D0, 1
000014EC 3F00 move.w -[A7], D0
000014EE A9C2 syscall SysEdit
000014F0 101F move.b D0, [A7]+
label000014F2:
000014F2 4267 clr.w -[A7]
000014F4 A938 syscall HiliteMenu
label000014F6:
000014F6 4E5E unlink A6
000014F8 4E75 rts
fn000014FA:
000014FA 4E56 FFE8 link A6, -0x0018
000014FE 48E7 0018 movem.l -[A7], A3,A4
00001502 486E FFFC pea.l [A6 - 0x4]
00001506 A874 syscall GetPort
00001508 42A7 clr.l -[A7]
0000150A 4EBA 0B06 jsr [PC + 0xB06 /* 00002012 */]
0000150E 588F addq.l A7, 4
00001510 42A7 clr.l -[A7]
00001512 42A7 clr.l -[A7]
00001514 486D FB78 pea.l [A5 - 0x488]
00001518 2F2D FAEC move.l -[A7], [A5 - 0x514]
0000151C 4267 clr.w -[A7]
0000151E 3F2D FAF0 move.w -[A7], [A5 - 0x510]
00001522 4878 FFFF push.l 0xFFFF
00001526 4267 clr.w -[A7]
00001528 42A7 clr.l -[A7]
0000152A A913 syscall NewWindow
0000152C 205F movea.l A0, [A7]+
0000152E 2848 movea.l A4, A0
00001530 2F0C move.l -[A7], A4
00001532 3F2D FAEA move.w -[A7], [A5 - 0x516]
00001536 3F2D FAE8 move.w -[A7], [A5 - 0x518]
0000153A 4267 clr.w -[A7]
0000153C A91B syscall MoveWindow
0000153E 2B4C FB00 move.l [A5 - 0x500], A4
00001542 2F0C move.l -[A7], A4
00001544 A873 syscall SetPort
00001546 3F2D FAF2 move.w -[A7], [A5 - 0x50E]
0000154A A887 syscall TextFont
0000154C 3F2D FAF4 move.w -[A7], [A5 - 0x50C]
00001550 A88A syscall TextSize
00001552 3F2D FAF6 move.w -[A7], [A5 - 0x50A]
00001556 A888 syscall TextFace
00001558 486E FFE8 pea.l [A6 - 0x18]
0000155C A88B syscall GetFontInfo
0000155E 302E FFE8 move.w D0, [A6 - 0x18]
00001562 D06E FFEA add.w D0, [A6 - 0x16]
00001566 D06E FFEE add.w D0, [A6 - 0x12]
0000156A 3B40 FB04 move.w [A5 - 0x4FC], D0
0000156E 3B6E FFEC FB06 move.w [A5 - 0x4FA], [A6 - 0x14]
00001574 7008 moveq.l D0, 0x08
00001576 3B40 FB10 move.w [A5 - 0x4F0], D0
0000157A 08AD 0003 FB2A bclr.b [A5 - 0x4D6], 0x3
00001580 08AD 0004 FB2A bclr.b [A5 - 0x4D6], 0x4
00001586 08AD 0006 FB2A bclr.b [A5 - 0x4D6], 0x6
0000158C 08AD 0007 FB2A bclr.b [A5 - 0x4D6], 0x7
00001592 08ED 0005 FB2A bset.b [A5 - 0x4D6], 0x5
00001598 42AD FB1A clr.l [A5 - 0x4E6]
0000159C 42AD FB26 clr.l [A5 - 0x4DA]
000015A0 426E FFF2 clr.w [A6 - 0xE]
000015A4 426E FFF0 clr.w [A6 - 0x10]
000015A8 302D FAF8 move.w D0, [A5 - 0x508]
000015AC 3B40 FB08 move.w [A5 - 0x4F8], D0
000015B0 C1ED FB04 muls.w D0, [A5 - 0x4FC]
000015B4 5040 addq.w D0, 8
000015B6 3D40 FFF4 move.w [A6 - 0xC], D0
000015BA 302D FAFA move.w D0, [A5 - 0x506]
000015BE 3B40 FB0A move.w [A5 - 0x4F6], D0
000015C2 C1ED FB06 muls.w D0, [A5 - 0x4FA]
000015C6 5040 addq.w D0, 8
000015C8 3D40 FFF6 move.w [A6 - 0xA], D0
000015CC 2F0C move.l -[A7], A4
000015CE 3F2E FFF6 move.w -[A7], [A6 - 0xA]
000015D2 3F2E FFF4 move.w -[A7], [A6 - 0xC]
000015D6 4267 clr.w -[A7]
000015D8 A91D syscall SizeWindow
000015DA 42A7 clr.l -[A7]
000015DC 486E FFF0 pea.l [A6 - 0x10]
000015E0 486E FFF0 pea.l [A6 - 0x10]
000015E4 A9D2 syscall TENew
000015E6 205F movea.l A0, [A7]+
000015E8 2B48 FB12 move.l [A5 - 0x4EE], A0
000015EC 206D FB12 movea.l A0, [A5 - 0x4EE]
000015F0 2050 movea.l A0, [A0]
000015F2 70FF moveq.l D0, 0xFFFFFFFF
000015F4 3140 0048 move.w [A0 + 0x48], D0
000015F8 302D FB08 move.w D0, [A5 - 0x4F8]
000015FC 5340 subq.w D0, 1
000015FE 3B40 FB0C move.w [A5 - 0x4F4], D0
00001602 4267 clr.w -[A7]
00001604 4EBA 03E0 jsr [PC + 0x3E0 /* 000019E6 */]
00001608 548F addq.l A7, 2
0000160A 2B6E FFF4 FB16 move.l [A5 - 0x4EA], [A6 - 0xC]
00001610 526D FB16 addq.w [A5 - 0x4EA], 1
00001614 526D FB18 addq.w [A5 - 0x4E8], 1
00001618 486E FFF0 pea.l [A6 - 0x10]
0000161C A870 syscall LocalToGlobal
0000161E 486E FFF4 pea.l [A6 - 0xC]
00001622 A870 syscall LocalToGlobal
00001624 206C 0082 movea.l A0, [A4 + 0x82]
00001628 2650 movea.l A3, [A0]
0000162A 41EB 0008 lea.l A0, [A3 + 0x8]
0000162E 43EE FFF0 lea.l A1, [A6 - 0x10]
00001632 20D9 move.l [A0]+, [A1]+
00001634 20D9 move.l [A0]+, [A1]+
00001636 43D3 lea.l A1, [A3]
00001638 5188 subq.l A0, 8
0000163A 22D8 move.l [A1]+, [A0]+
0000163C 22D8 move.l [A1]+, [A0]+
0000163E 41ED FB00 lea.l A0, [A5 - 0x500]
00001642 702C moveq.l D0, 0x2C
00001644 A9E3 syscall PtrToHand
00001646 2948 0098 move.l [A4 + 0x98], A0
0000164A 4A6D FB30 tst.w [A5 - 0x4D0]
0000164E 6608 bne +0xA /* 00001658 */
00001650 4EBA 0B60 jsr [PC + 0xB60 /* 000021B2 */]
00001654 3B40 FB30 move.w [A5 - 0x4D0], D0
label00001658:
00001658 396D FB30 006C move.w [A4 + 0x6C], [A5 - 0x4D0]
0000165E 4EBA 08C0 jsr [PC + 0x8C0 /* 00001F20 */]
00001662 2F0C move.l -[A7], A4
00001664 A915 syscall ShowWindow
00001666 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000166A A873 syscall SetPort
0000166C 200C move.l D0, A4
0000166E 4CDF 1800 movem.l A3,A4, [A7]+
00001672 4E5E unlink A6
00001674 4E75 rts
fn00001676:
00001676 4E56 FFFC link A6, -0x0004
0000167A 2F0C move.l -[A7], A4
0000167C 426E FFFE clr.w [A6 - 0x2]
00001680 41ED FD2E lea.l A0, [A5 - 0x2D2]
00001684 2848 movea.l A4, A0
00001686 700F moveq.l D0, 0x0F
00001688 3D40 FFFC move.w [A6 - 0x4], D0
0000168C 601A bra +0x1C /* 000016A8 */
label0000168E:
0000168E 202C 001E move.l D0, [A4 + 0x1E]
00001692 B0AD FB00 cmp.l D0, [A5 - 0x500]
00001696 660C bne +0xE /* 000016A4 */
00001698 302E FFFE move.w D0, [A6 - 0x2]
0000169C 526E FFFE addq.w [A6 - 0x2], 1
000016A0 4A40 tst.w D0
000016A2 663E bne +0x40 /* 000016E2 */
label000016A4:
000016A4 49EC 0026 lea.l A4, [A4 + 0x26]
label000016A8:
000016A8 302E FFFC move.w D0, [A6 - 0x4]
000016AC 536E FFFC subq.w [A6 - 0x4], 1
000016B0 4A40 tst.w D0
000016B2 66DA bne -0x24 /* 0000168E */
000016B4 4EBA 0032 jsr [PC + 0x32 /* 000016E8 */]
000016B8 4AAD FB1A tst.l [A5 - 0x4E6]
000016BC 6708 beq +0xA /* 000016C6 */
000016BE 2F2D FB1A move.l -[A7], [A5 - 0x4E6]
000016C2 4EBA 1458 jsr [PC + 0x1458 /* 00002B1C */]
label000016C6:
000016C6 206D FB00 movea.l A0, [A5 - 0x500]
000016CA 2F28 0098 move.l -[A7], [A0 + 0x98]
000016CE 4EBA 144C jsr [PC + 0x144C /* 00002B1C */]
000016D2 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
000016D6 A9CD syscall TEDispose
000016D8 2F2D FB00 move.l -[A7], [A5 - 0x500]
000016DC A914 syscall DisposeWindow
000016DE 42AD FB00 clr.l [A5 - 0x500]
label000016E2:
000016E2 285F movea.l A4, [A7]+
000016E4 4E5E unlink A6
000016E6 4E75 rts
fn000016E8:
000016E8 4AAD FB26 tst.l [A5 - 0x4DA]
000016EC 6716 beq +0x18 /* 00001704 */
000016EE 082D 0002 FB2A btst.b [A5 - 0x4D6], 0x2
000016F4 6704 beq +0x6 /* 000016FA */
000016F6 4EBA 11F2 jsr [PC + 0x11F2 /* 000028EA */]
label000016FA:
000016FA 2F2D FB26 move.l -[A7], [A5 - 0x4DA]
000016FE 4EBA 2352 jsr [PC + 0x2352 /* 00003A52 */]
00001702 588F addq.l A7, 4
label00001704:
00001704 4E75 rts
fn00001706:
00001706 4E56 FFFA link A6, -0x0006
0000170A 2F0C move.l -[A7], A4
0000170C 286E 0008 movea.l A4, [A6 + 0x8]
00001710 2F0C move.l -[A7], A4
00001712 4EBA 3B14 jsr [PC + 0x3B14 /* 00005228 */]
00001716 588F addq.l A7, 4
00001718 2040 movea.l A0, D0
0000171A 2D68 001E FFFC move.l [A6 - 0x4], [A0 + 0x1E]
00001720 41ED FD2E lea.l A0, [A5 - 0x2D2]
00001724 2848 movea.l A4, A0
00001726 700F moveq.l D0, 0x0F
00001728 3D40 FFFA move.w [A6 - 0x6], D0
0000172C 601C bra +0x1E /* 0000174A */
label0000172E:
0000172E 0814 0003 btst.b [A4], 0x3
00001732 6712 beq +0x14 /* 00001746 */
00001734 202C 001E move.l D0, [A4 + 0x1E]
00001738 B0AE FFFC cmp.l D0, [A6 - 0x4]
0000173C 6608 bne +0xA /* 00001746 */
0000173E 2F0C move.l -[A7], A4
00001740 4EBA 22AC jsr [PC + 0x22AC /* 000039EE */]
00001744 588F addq.l A7, 4
label00001746:
00001746 49EC 0026 lea.l A4, [A4 + 0x26]
label0000174A:
0000174A 302E FFFA move.w D0, [A6 - 0x6]
0000174E 536E FFFA subq.w [A6 - 0x6], 1
00001752 4A40 tst.w D0
00001754 66D8 bne -0x26 /* 0000172E */
00001756 202E FFFC move.l D0, [A6 - 0x4]
0000175A 285F movea.l A4, [A7]+
0000175C 4E5E unlink A6
0000175E 4E75 rts
export_72:
00001760 4E56 FFFE link A6, -0x0002
00001764 2F0C move.l -[A7], A4
00001766 41ED FD2E lea.l A0, [A5 - 0x2D2]
0000176A 2848 movea.l A4, A0
0000176C 700F moveq.l D0, 0x0F
0000176E 3D40 FFFE move.w [A6 - 0x2], D0
00001772 6018 bra +0x1A /* 0000178C */
label00001774:
00001774 0814 0003 btst.b [A4], 0x3
00001778 670E beq +0x10 /* 00001788 */
0000177A 4AAC 001E tst.l [A4 + 0x1E]
0000177E 6708 beq +0xA /* 00001788 */
00001780 2F0C move.l -[A7], A4
00001782 4EBA 226A jsr [PC + 0x226A /* 000039EE */]
00001786 588F addq.l A7, 4
label00001788:
00001788 49EC 0026 lea.l A4, [A4 + 0x26]
label0000178C:
0000178C 302E FFFE move.w D0, [A6 - 0x2]
00001790 536E FFFE subq.w [A6 - 0x2], 1
00001794 4A40 tst.w D0
00001796 66DC bne -0x22 /* 00001774 */
00001798 4A2D FB2C tst.b [A5 - 0x4D4]
0000179C 6700 005C beq +0x5E /* 000017FA */
000017A0 4A6D FAFC tst.w [A5 - 0x504]
000017A4 6754 beq +0x56 /* 000017FA */
000017A6 41ED FD2E lea.l A0, [A5 - 0x2D2]
000017AA 2848 movea.l A4, A0
000017AC 700F moveq.l D0, 0x0F
000017AE 3D40 FFFE move.w [A6 - 0x2], D0
000017B2 603A bra +0x3C /* 000017EE */
label000017B4:
000017B4 4AAC 001E tst.l [A4 + 0x1E]
000017B8 6730 beq +0x32 /* 000017EA */
000017BA 2F2C 001E move.l -[A7], [A4 + 0x1E]
000017BE 486D FBDC pea.l [A5 - 0x424]
000017C2 A91A syscall SetWTitle
000017C4 08AD 0005 FB2A bclr.b [A5 - 0x4D6], 0x5
000017CA 08AD 0006 FB2A bclr.b [A5 - 0x4D6], 0x6
000017D0 08AD 0007 FB2A bclr.b [A5 - 0x4D6], 0x7
000017D6 42A7 clr.l -[A7]
000017D8 2F0C move.l -[A7], A4
000017DA 4EBA 214C jsr [PC + 0x214C /* 00003928 */]
000017DE 508F addq.l A7, 8
000017E0 2F0C move.l -[A7], A4
000017E2 4EBA 201A jsr [PC + 0x201A /* 000037FE */]
000017E6 588F addq.l A7, 4
000017E8 6010 bra +0x12 /* 000017FA */
label000017EA:
000017EA 49EC 0026 lea.l A4, [A4 + 0x26]
label000017EE:
000017EE 302E FFFE move.w D0, [A6 - 0x2]
000017F2 536E FFFE subq.w [A6 - 0x2], 1
000017F6 4A40 tst.w D0
000017F8 66BA bne -0x44 /* 000017B4 */
label000017FA:
000017FA 41ED FD2E lea.l A0, [A5 - 0x2D2]
000017FE 2848 movea.l A4, A0
00001800 700F moveq.l D0, 0x0F
00001802 3D40 FFFE move.w [A6 - 0x2], D0
00001806 6012 bra +0x14 /* 0000181A */
label00001808:
00001808 4AAC 001E tst.l [A4 + 0x1E]
0000180C 6708 beq +0xA /* 00001816 */
0000180E 2F0C move.l -[A7], A4
00001810 4EBA 2240 jsr [PC + 0x2240 /* 00003A52 */]
00001814 588F addq.l A7, 4
label00001816:
00001816 49EC 0026 lea.l A4, [A4 + 0x26]
label0000181A:
0000181A 302E FFFE move.w D0, [A6 - 0x2]
0000181E 536E FFFE subq.w [A6 - 0x2], 1
00001822 4A40 tst.w D0
00001824 66E2 bne -0x1C /* 00001808 */
00001826 285F movea.l A4, [A7]+
00001828 4E5E unlink A6
0000182A 4E75 rts
export_71:
0000182C 4E56 FFF6 link A6, -0x000A
00001830 2F0C move.l -[A7], A4
00001832 286E 0008 movea.l A4, [A6 + 0x8]
00001836 426E FFF6 clr.w [A6 - 0xA]
0000183A 4A6D F748 tst.w [A5 - 0x8B8]
0000183E 6706 beq +0x8 /* 00001846 */
00001840 7000 moveq.l D0, 0x00
00001842 6000 0120 bra +0x122 /* 00001964 */
label00001846:
00001846 486E FFF8 pea.l [A6 - 0x8]
0000184A 2F2C 001E move.l -[A7], [A4 + 0x1E]
0000184E 4EBA 072C jsr [PC + 0x72C /* 00001F7C */]
00001852 508F addq.l A7, 8
00001854 302E 000C move.w D0, [A6 + 0xC]
00001858 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
0000185C 0000 0002 ori.b D0, 0x2
00001860 00CE .incomplete
00001862 0006 00A8 ori.b D6, 0xA8
00001866 00B6 202C 000E 2B40 ori.l [A6 + <<invalid base displacement size>>], 0x202C000E
0000186E FB3E .extension 0xB3E <<F/4-5/5>> // unimplemented
00001870 2B40 FB3A move.l [A5 - 0x4C6], D0
00001874 4A2D FB2C tst.b [A5 - 0x4D4]
00001878 6700 0076 beq +0x78 /* 000018F0 */
0000187C 2F0C move.l -[A7], A4
0000187E 4EBA F936 jsr [PC - 0x6CA /* 000011B6 */]
00001882 588F addq.l A7, 4
00001884 08ED 0004 FB2A bset.b [A5 - 0x4D6], 0x4
0000188A 2B6C 0012 FB42 move.l [A5 - 0x4BE], [A4 + 0x12]
00001890 082D 0005 FB2A btst.b [A5 - 0x4D6], 0x5
00001896 6720 beq +0x22 /* 000018B8 */
00001898 306D FB0E movea.w A0, [A5 - 0x4F2]
0000189C D1ED FB42 add.l A0, [A5 - 0x4BE]
000018A0 326D FB0A movea.w A1, [A5 - 0x4F6]
000018A4 B1C9 cmpa.l A0, A1
000018A6 6310 bls +0x12 /* 000018B8 */
000018A8 302D FB0A move.w D0, [A5 - 0x4F6]
000018AC 906D FB0E sub.w D0, [A5 - 0x4F2]
000018B0 5240 addq.w D0, 1
000018B2 48C0 ext.l D0
000018B4 2B40 FB42 move.l [A5 - 0x4BE], D0
label000018B8:
000018B8 082D 0007 FB2A btst.b [A5 - 0x4D6], 0x7
000018BE 660A bne +0xC /* 000018CA */
000018C0 4267 clr.w -[A7]
000018C2 4EBA 04FA jsr [PC + 0x4FA /* 00001DBE */]
000018C6 548F addq.l A7, 2
000018C8 6002 bra +0x4 /* 000018CC */
label000018CA:
000018CA 7000 moveq.l D0, 0x00
label000018CC:
000018CC 3B40 FB48 move.w [A5 - 0x4B8], D0
000018D0 3B40 FB46 move.w [A5 - 0x4BA], D0
000018D4 0894 0005 bclr.b [A4], 0x5
label000018D8:
000018D8 4EBA FAE0 jsr [PC - 0x520 /* 000013BA */]
000018DC 4AAD FB42 tst.l [A5 - 0x4BE]
000018E0 6708 beq +0xA /* 000018EA */
000018E2 082D 0007 FB2A btst.b [A5 - 0x4D6], 0x7
000018E8 67EE beq -0x10 /* 000018D8 */
label000018EA:
000018EA 08AD 0004 FB2A bclr.b [A5 - 0x4D6], 0x4
label000018F0:
000018F0 202D FB3E move.l D0, [A5 - 0x4C2]
000018F4 90AD FB3A sub.l D0, [A5 - 0x4C6]
000018F8 2940 0012 move.l [A4 + 0x12], D0
000018FC 4A80 tst.l D0
000018FE 662E bne +0x30 /* 0000192E */
00001900 08D4 0005 bset.b [A4], 0x5
00001904 70FF moveq.l D0, 0xFFFFFFFF
00001906 3D40 FFF6 move.w [A6 - 0xA], D0
0000190A 6022 bra +0x24 /* 0000192E */
0000190C 3F2C 0014 move.w -[A7], [A4 + 0x14]
00001910 2F2C 000E move.l -[A7], [A4 + 0xE]
00001914 4EBA 015E jsr [PC + 0x15E /* 00001A74 */]
00001918 5C8F addq.l A7, 6
0000191A 6012 bra +0x14 /* 0000192E */
0000191C 4EBA FD58 jsr [PC - 0x2A8 /* 00001676 */]
00001920 202C 001E move.l D0, [A4 + 0x1E]
00001924 B0AE FFF8 cmp.l D0, [A6 - 0x8]
00001928 6604 bne +0x6 /* 0000192E */
0000192A 42AE FFF8 clr.l [A6 - 0x8]
label0000192E:
0000192E 4A2D FB2E tst.b [A5 - 0x4D2]
00001932 6722 beq +0x24 /* 00001956 */
00001934 422D FB2E clr.b [A5 - 0x4D2]
00001938 7008 moveq.l D0, 0x08
0000193A A032 syscall FlushEvents
0000193C 42AC 0012 clr.l [A4 + 0x12]
00001940 3F3C 0004 move.w -[A7], 0x4
00001944 4EBA 3872 jsr [PC + 0x3872 /* 000051B8 */]
00001948 548F addq.l A7, 2
0000194A 7004 moveq.l D0, 0x04
0000194C 3B40 FCFA move.w [A5 - 0x306], D0
00001950 70FF moveq.l D0, 0xFFFFFFFF
00001952 3D40 FFF6 move.w [A6 - 0xA], D0
label00001956:
00001956 486E FFF8 pea.l [A6 - 0x8]
0000195A 4EBA 0692 jsr [PC + 0x692 /* 00001FEE */]
0000195E 588F addq.l A7, 4
00001960 302E FFF6 move.w D0, [A6 - 0xA]
label00001964:
00001964 285F movea.l A4, [A7]+
00001966 4E5E unlink A6
00001968 4E75 rts
export_73:
0000196A 4E56 FFFE link A6, -0x0002
0000196E 48E7 0118 movem.l -[A7], D7,A3,A4
00001972 286E 0010 movea.l A4, [A6 + 0x10]
00001976 3E2E 0014 move.w D7, [A6 + 0x14]
0000197A 6000 0054 bra +0x56 /* 000019D0 */
label0000197E:
0000197E 264C movea.l A3, A4
label00001980:
00001980 4A1C tst.b [A4]+
00001982 5BCF FFFC dbmi D7, -0x6 /* 00001980 */
00001986 6A02 bpl +0x4 /* 0000198A */
00001988 538C subq.l A4, 1
label0000198A:
0000198A B9CB cmpa.l A4, A3
0000198C 6312 bls +0x14 /* 000019A0 */
0000198E 200C move.l D0, A4
00001990 908B sub.l D0, A3
00001992 3F00 move.w -[A7], D0
00001994 2F0B move.l -[A7], A3
00001996 2F2E 000C move.l -[A7], [A6 + 0xC]
0000199A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000199E A882 syscall StdText
label000019A0:
000019A0 4A47 tst.w D7
000019A2 6D34 blt +0x36 /* 000019D8 */
000019A4 41D4 lea.l A0, [A4]
000019A6 528C addq.l A4, 1
000019A8 1010 move.b D0, [A0]
000019AA 4880 ext.w D0
000019AC 0240 007F andi.w D0, 0x7F
000019B0 1D40 FFFF move.b [A6 - 0x1], D0
000019B4 3F3C 0004 move.w -[A7], 0x4
000019B8 A889 syscall TextMode
000019BA 3F3C 0001 move.w -[A7], 0x1
000019BE 486E FFFF pea.l [A6 - 0x1]
000019C2 2F2E 000C move.l -[A7], [A6 + 0xC]
000019C6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000019CA A882 syscall StdText
000019CC 4267 clr.w -[A7]
000019CE A889 syscall TextMode
label000019D0:
000019D0 3007 move.w D0, D7
000019D2 5347 subq.w D7, 1
000019D4 4A40 tst.w D0
000019D6 66A6 bne -0x58 /* 0000197E */
label000019D8:
000019D8 4CDF 1880 movem.l D7,A3,A4, [A7]+
000019DC 4E5E unlink A6
000019DE 205F movea.l A0, [A7]+
000019E0 4FEF 000E lea.l A7, [A7 + 0xE]
000019E4 4ED0 jmp [A0]
fn000019E6:
000019E6 4E56 0000 link A6, 0
000019EA 302D FB08 move.w D0, [A5 - 0x4F8]
000019EE 906E 0008 sub.w D0, [A6 + 0x8]
000019F2 48C0 ext.l D0
000019F4 2F00 move.l -[A7], D0
000019F6 42A7 clr.l -[A7]
000019F8 3F3C 000D move.w -[A7], 0xD /* '\r' */
000019FC 4EBA 0366 jsr [PC + 0x366 /* 00001D64 */]
00001A00 4FEF 000A lea.l A7, [A7 + 0xA]
00001A04 206D FB12 movea.l A0, [A5 - 0x4EE]
00001A08 302E 0008 move.w D0, [A6 + 0x8]
00001A0C 48C0 ext.l D0
00001A0E D080 add.l D0, D0
00001A10 D090 add.l D0, [A0]
00001A12 206D FB12 movea.l A0, [A5 - 0x4EE]
00001A16 2050 movea.l A0, [A0]
00001A18 3F28 003C move.w -[A7], [A0 + 0x3C]
00001A1C 2040 movea.l A0, D0
00001A1E 3F28 0060 move.w -[A7], [A0 + 0x60]
00001A22 4EBA 0376 jsr [PC + 0x376 /* 00001D9A */]
00001A26 588F addq.l A7, 4
00001A28 426D FB0E clr.w [A5 - 0x4F2]
00001A2C 4E5E unlink A6
00001A2E 4E75 rts
fn00001A30:
00001A30 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001A34 4EBA 0404 jsr [PC + 0x404 /* 00001E3A */]
00001A38 2840 movea.l A4, D0
00001A3A 302D FB0C move.w D0, [A5 - 0x4F4]
00001A3E 48C0 ext.l D0
00001A40 D080 add.l D0, D0
00001A42 D08C add.l D0, A4
00001A44 0680 0000 0060 addi.l D0, 0x60 /* '`' */
00001A4A 2640 movea.l A3, D0
00001A4C 3013 move.w D0, [A3]
00001A4E D06D FB0E add.w D0, [A5 - 0x4F2]
00001A52 3E00 move.w D7, D0
00001A54 302B 0002 move.w D0, [A3 + 0x2]
00001A58 5340 subq.w D0, 1
00001A5A 3C00 move.w D6, D0
00001A5C BE46 cmp.w D7, D6
00001A5E 6C0E bge +0x10 /* 00001A6E */
00001A60 3947 0020 move.w [A4 + 0x20], D7
00001A64 3946 0022 move.w [A4 + 0x22], D6
00001A68 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
00001A6C A9D7 syscall TEDelete
label00001A6E:
00001A6E 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00001A72 4E75 rts
fn00001A74:
00001A74 4E56 FFFC link A6, -0x0004
00001A78 48E7 0118 movem.l -[A7], D7,A3,A4
00001A7C 286E 0008 movea.l A4, [A6 + 0x8]
00001A80 3E2E 000C move.w D7, [A6 + 0xC]
00001A84 6000 00F6 bra +0xF8 /* 00001B7C */
label00001A88:
00001A88 2D4C FFFC move.l [A6 - 0x4], A4
00001A8C 7020 moveq.l D0, 0x20
label00001A8E:
00001A8E B01C cmp.b D0, [A4]+
00001A90 52CF FFFC dbhi D7, -0x6 /* 00001A8E */
00001A94 6302 bls +0x4 /* 00001A98 */
00001A96 538C subq.l A4, 1
label00001A98:
00001A98 B9EE FFFC cmpa.l A4, [A6 - 0x4]
00001A9C 6312 bls +0x14 /* 00001AB0 */
00001A9E 200C move.l D0, A4
00001AA0 90AE FFFC sub.l D0, [A6 - 0x4]
00001AA4 2F00 move.l -[A7], D0
00001AA6 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001AAA 4EBA 00E2 jsr [PC + 0xE2 /* 00001B8E */]
00001AAE 508F addq.l A7, 8
label00001AB0:
00001AB0 4A47 tst.w D7
00001AB2 6D00 00D2 blt +0xD4 /* 00001B86 */
00001AB6 082D 0007 FB2A btst.b [A5 - 0x4D6], 0x7
00001ABC 662E bne +0x30 /* 00001AEC */
00001ABE 2678 014C movea.l A3, [0x0000014C]
00001AC2 6024 bra +0x26 /* 00001AE8 */
label00001AC4:
00001AC4 0C6B 0003 0006 cmpi.w [A3 + 0x6], 0x3
00001ACA 661A bne +0x1C /* 00001AE6 */
00001ACC 0C2B 002E 000B cmpi.b [A3 + 0xB], 0x2E /* '.' */
00001AD2 6612 bne +0x14 /* 00001AE6 */
00001AD4 082B 0000 0014 btst.b [A3 + 0x14], 0x0
00001ADA 670A beq +0xC /* 00001AE6 */
00001ADC 7001 moveq.l D0, 0x01
00001ADE 1B40 FB2E move.b [A5 - 0x4D2], D0
00001AE2 6000 00A2 bra +0xA4 /* 00001B86 */
label00001AE6:
00001AE6 2653 movea.l A3, [A3]
label00001AE8:
00001AE8 200B move.l D0, A3
00001AEA 66D8 bne -0x26 /* 00001AC4 */
label00001AEC:
00001AEC 41D4 lea.l A0, [A4]
00001AEE 528C addq.l A4, 1
00001AF0 7000 moveq.l D0, 0x00
00001AF2 1010 move.b D0, [A0]
00001AF4 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00001AF8 0007 000D ori.b D7, 0xD /* '\r' */
00001AFC 0080 000E 0016 ori.l D0, 0xE0016
00001B02 0056 0034 ori.w [A6], 0x34 /* '4' */
00001B06 0038 0022 0048 ori.b [0x00000048], 0x22 /* '\"' */
00001B0C 3F3C 0004 move.w -[A7], 0x4
00001B10 A9C8 syscall SysBeep
00001B12 6000 0068 bra +0x6A /* 00001B7C */
00001B16 4EBA 0322 jsr [PC + 0x322 /* 00001E3A */]
00001B1A 4A6D FB0E tst.w [A5 - 0x4F2]
00001B1E 6700 005C beq +0x5E /* 00001B7C */
00001B22 536D FB0E subq.w [A5 - 0x4F2], 1
00001B26 6000 0054 bra +0x56 /* 00001B7C */
00001B2A 426D FB0C clr.w [A5 - 0x4F4]
00001B2E 4267 clr.w -[A7]
00001B30 4EBA FEB4 jsr [PC - 0x14C /* 000019E6 */]
00001B34 548F addq.l A7, 2
00001B36 6044 bra +0x46 /* 00001B7C */
00001B38 4EBA 0552 jsr [PC + 0x552 /* 0000208C */]
00001B3C 603E bra +0x40 /* 00001B7C */
00001B3E 526D FB0C addq.w [A5 - 0x4F4], 1
00001B42 302D FB0C move.w D0, [A5 - 0x4F4]
00001B46 B06D FB08 cmp.w D0, [A5 - 0x4F8]
00001B4A 6630 bne +0x32 /* 00001B7C */
00001B4C 536D FB0C subq.w [A5 - 0x4F4], 1
00001B50 602A bra +0x2C /* 00001B7C */
00001B52 426D FB0E clr.w [A5 - 0x4F2]
00001B56 6024 bra +0x26 /* 00001B7C */
label00001B58:
00001B58 526D FB0E addq.w [A5 - 0x4F2], 1
00001B5C 306D FB0E movea.w A0, [A5 - 0x4F2]
00001B60 2008 move.l D0, A0
00001B62 81ED FB10 divs.w D0, [A5 - 0x4F0]
00001B66 4840 swap.w D0
00001B68 4A40 tst.w D0
00001B6A 66EC bne -0x12 /* 00001B58 */
00001B6C 302D FB0E move.w D0, [A5 - 0x4F2]
00001B70 B06D FB0A cmp.w D0, [A5 - 0x4F6]
00001B74 6F06 ble +0x8 /* 00001B7C */
00001B76 3B6D FB0A FB0E move.w [A5 - 0x4F2], [A5 - 0x4F6]
label00001B7C:
00001B7C 3007 move.w D0, D7
00001B7E 5347 subq.w D7, 1
00001B80 4A40 tst.w D0
00001B82 6600 FF04 bne -0xFA /* 00001A88 */
label00001B86:
00001B86 4CDF 1880 movem.l D7,A3,A4, [A7]+
00001B8A 4E5E unlink A6
00001B8C 4E75 rts
fn00001B8E:
00001B8E 4E56 0000 link A6, 0
00001B92 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
00001B96 2E2E 000C move.l D7, [A6 + 0xC]
label00001B9A:
00001B9A 2C07 move.l D6, D7
00001B9C 306D FB0E movea.w A0, [A5 - 0x4F2]
00001BA0 D1C7 add.l A0, D7
00001BA2 326D FB0A movea.w A1, [A5 - 0x4F6]
00001BA6 B1C9 cmpa.l A0, A1
00001BA8 6F0C ble +0xE /* 00001BB6 */
00001BAA 302D FB0A move.w D0, [A5 - 0x4F6]
00001BAE 906D FB0E sub.w D0, [A5 - 0x4F2]
00001BB2 48C0 ext.l D0
00001BB4 2C00 move.l D6, D0
label00001BB6:
00001BB6 206D FB12 movea.l A0, [A5 - 0x4EE]
00001BBA 302D FB0C move.w D0, [A5 - 0x4F4]
00001BBE 48C0 ext.l D0
00001BC0 D080 add.l D0, D0
00001BC2 D090 add.l D0, [A0]
00001BC4 0680 0000 0060 addi.l D0, 0x60 /* '`' */
00001BCA 2840 movea.l A4, D0
00001BCC 3014 move.w D0, [A4]
00001BCE D06D FB0E add.w D0, [A5 - 0x4F2]
00001BD2 3A00 move.w D5, D0
00001BD4 302C 0002 move.w D0, [A4 + 0x2]
00001BD8 5340 subq.w D0, 1
00001BDA 3800 move.w D4, D0
00001BDC BA44 cmp.w D5, D4
00001BDE 6F24 ble +0x26 /* 00001C04 */
00001BE0 3005 move.w D0, D5
00001BE2 9044 sub.w D0, D4
00001BE4 48C0 ext.l D0
00001BE6 2F00 move.l -[A7], D0
00001BE8 42A7 clr.l -[A7]
00001BEA 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00001BEE 4EBA 0174 jsr [PC + 0x174 /* 00001D64 */]
00001BF2 4FEF 000A lea.l A7, [A7 + 0xA]
00001BF6 3F04 move.w -[A7], D4
00001BF8 3F04 move.w -[A7], D4
00001BFA 4EBA 019E jsr [PC + 0x19E /* 00001D9A */]
00001BFE 588F addq.l A7, 4
00001C00 3805 move.w D4, D5
00001C02 6012 bra +0x14 /* 00001C16 */
label00001C04:
00001C04 3045 movea.w A0, D5
00001C06 D1C6 add.l A0, D6
00001C08 3244 movea.w A1, D4
00001C0A B3C8 cmpa.l A1, A0
00001C0C 6F08 ble +0xA /* 00001C16 */
00001C0E 3045 movea.w A0, D5
00001C10 D1C6 add.l A0, D6
00001C12 2008 move.l D0, A0
00001C14 3800 move.w D4, D0
label00001C16:
00001C16 206E 0008 movea.l A0, [A6 + 0x8]
00001C1A 2006 move.l D0, D6
00001C1C 31C0 0AB0 move.w [0x00000AB0 /* TEScrpLength */], D0
00001C20 2278 0AB4 movea.l A1, [0x00000AB4 /* TEScrpHandle */]
00001C24 A9E2 syscall PtrToXHand
00001C26 3F04 move.w -[A7], D4
00001C28 3F05 move.w -[A7], D5
00001C2A 4EBA 016E jsr [PC + 0x16E /* 00001D9A */]
00001C2E 588F addq.l A7, 4
00001C30 BC87 cmp.l D6, D7
00001C32 6C0E bge +0x10 /* 00001C42 */
00001C34 4EBA 0456 jsr [PC + 0x456 /* 0000208C */]
00001C38 DDAE 0008 add.l [A6 + 0x8], D6
00001C3C 9E86 sub.l D7, D6
00001C3E 6000 FF5A bra -0xA4 /* 00001B9A */
label00001C42:
00001C42 DD6D FB0E add.w [A5 - 0x4F2], D6
00001C46 4CDF 10F0 movem.l D4,D5,D6,D7,A4, [A7]+
00001C4A 4E5E unlink A6
00001C4C 4E75 rts
fn00001C4E:
00001C4E 4E56 0000 link A6, 0
00001C52 2F0C move.l -[A7], A4
00001C54 4EBA 01E4 jsr [PC + 0x1E4 /* 00001E3A */]
00001C58 2840 movea.l A4, D0
00001C5A 302D FB0C move.w D0, [A5 - 0x4F4]
00001C5E 5240 addq.w D0, 1
00001C60 48C0 ext.l D0
00001C62 D080 add.l D0, D0
00001C64 D08C add.l D0, A4
00001C66 2040 movea.l A0, D0
00001C68 302D FB48 move.w D0, [A5 - 0x4B8]
00001C6C 5240 addq.w D0, 1
00001C6E B068 0060 cmp.w D0, [A0 + 0x60]
00001C72 6614 bne +0x16 /* 00001C88 */
00001C74 396E 0008 0020 move.w [A4 + 0x20], [A6 + 0x8]
00001C7A 396E 000A 0022 move.w [A4 + 0x22], [A6 + 0xA]
00001C80 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
00001C84 A9D7 syscall TEDelete
00001C86 6044 bra +0x46 /* 00001CCC */
label00001C88:
00001C88 396E 000A 0020 move.w [A4 + 0x20], [A6 + 0xA]
00001C8E 396D FB48 0022 move.w [A4 + 0x22], [A5 - 0x4B8]
00001C94 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
00001C98 A9D5 syscall TECopy
00001C9A 302D FB48 move.w D0, [A5 - 0x4B8]
00001C9E 906E 000A sub.w D0, [A6 + 0xA]
00001CA2 322D FB48 move.w D1, [A5 - 0x4B8]
00001CA6 926E 0008 sub.w D1, [A6 + 0x8]
00001CAA 48C1 ext.l D1
00001CAC 2F01 move.l -[A7], D1
00001CAE 48C0 ext.l D0
00001CB0 2F00 move.l -[A7], D0
00001CB2 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00001CB6 4EBA 00AC jsr [PC + 0xAC /* 00001D64 */]
00001CBA 4FEF 000A lea.l A7, [A7 + 0xA]
00001CBE 3F2D FB48 move.w -[A7], [A5 - 0x4B8]
00001CC2 3F2E 0008 move.w -[A7], [A6 + 0x8]
00001CC6 4EBA 00D2 jsr [PC + 0xD2 /* 00001D9A */]
00001CCA 588F addq.l A7, 4
label00001CCC:
00001CCC 302E 000A move.w D0, [A6 + 0xA]
00001CD0 906E 0008 sub.w D0, [A6 + 0x8]
00001CD4 916D FB48 sub.w [A5 - 0x4B8], D0
00001CD8 285F movea.l A4, [A7]+
00001CDA 4E5E unlink A6
00001CDC 4E75 rts
fn00001CDE:
00001CDE 4E56 0000 link A6, 0
00001CE2 2F0C move.l -[A7], A4
00001CE4 4EBA 0154 jsr [PC + 0x154 /* 00001E3A */]
00001CE8 2840 movea.l A4, D0
00001CEA 396E 000A 0020 move.w [A4 + 0x20], [A6 + 0xA]
00001CF0 302D FB0C move.w D0, [A5 - 0x4F4]
00001CF4 5240 addq.w D0, 1
00001CF6 48C0 ext.l D0
00001CF8 D080 add.l D0, D0
00001CFA D08C add.l D0, A4
00001CFC 2040 movea.l A0, D0
00001CFE 302D FB48 move.w D0, [A5 - 0x4B8]
00001D02 5240 addq.w D0, 1
00001D04 B068 0060 cmp.w D0, [A0 + 0x60]
00001D08 6616 bne +0x18 /* 00001D20 */
00001D0A 396E 000A 0022 move.w [A4 + 0x22], [A6 + 0xA]
00001D10 102E 0009 move.b D0, [A6 + 0x9]
00001D14 4880 ext.w D0
00001D16 3F00 move.w -[A7], D0
00001D18 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
00001D1C A9DC syscall TEKey
00001D1E 603A bra +0x3C /* 00001D5A */
label00001D20:
00001D20 396D FB48 0022 move.w [A4 + 0x22], [A5 - 0x4B8]
00001D26 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
00001D2A A9D5 syscall TECopy
00001D2C 42A7 clr.l -[A7]
00001D2E 2F38 0AB4 move.l -[A7], [0x00000AB4 /* TEScrpHandle */]
00001D32 42A7 clr.l -[A7]
00001D34 42A7 clr.l -[A7]
00001D36 42A7 clr.l -[A7]
00001D38 486E 0009 pea.l [A6 + 0x9]
00001D3C 4878 0001 push.l 0x1
00001D40 A9E0 syscall Munger
00001D42 201F move.l D0, [A7]+
00001D44 5278 0AB0 addq.w [0x00000AB0 /* TEScrpLength */], 1
00001D48 302D FB48 move.w D0, [A5 - 0x4B8]
00001D4C 5240 addq.w D0, 1
00001D4E 3F00 move.w -[A7], D0
00001D50 3F2E 000A move.w -[A7], [A6 + 0xA]
00001D54 4EBA 0044 jsr [PC + 0x44 /* 00001D9A */]
00001D58 588F addq.l A7, 4
label00001D5A:
00001D5A 526D FB48 addq.w [A5 - 0x4B8], 1
00001D5E 285F movea.l A4, [A7]+
00001D60 4E5E unlink A6
00001D62 4E75 rts
fn00001D64:
00001D64 4E56 0000 link A6, 0
00001D68 48E7 0700 movem.l -[A7], D5,D6,D7
00001D6C 1E2E 0009 move.b D7, [A6 + 0x9]
00001D70 2C2E 000A move.l D6, [A6 + 0xA]
00001D74 2A2E 000E move.l D5, [A6 + 0xE]
00001D78 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00001D7C 2005 move.l D0, D5
00001D7E 31C0 0AB0 move.w [0x00000AB0 /* TEScrpLength */], D0
00001D82 A024 syscall SetHandleSize
00001D84 2050 movea.l A0, [A0]
00001D86 D1C6 add.l A0, D6
00001D88 9A86 sub.l D5, D6
00001D8A 6002 bra +0x4 /* 00001D8E */
label00001D8C:
00001D8C 10C7 move.b [A0]+, D7
label00001D8E:
00001D8E 51CD FFFC dbf D5, -0x6 /* 00001D8C */
00001D92 4CDF 00E0 movem.l D5,D6,D7, [A7]+
00001D96 4E5E unlink A6
00001D98 4E75 rts
fn00001D9A:
00001D9A 4E56 0000 link A6, 0
00001D9E 2F0C move.l -[A7], A4
00001DA0 4EBA 0098 jsr [PC + 0x98 /* 00001E3A */]
00001DA4 2840 movea.l A4, D0
00001DA6 396E 0008 0020 move.w [A4 + 0x20], [A6 + 0x8]
00001DAC 396E 000A 0022 move.w [A4 + 0x22], [A6 + 0xA]
00001DB2 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
00001DB6 A9DB syscall TEPaste
00001DB8 285F movea.l A4, [A7]+
00001DBA 4E5E unlink A6
00001DBC 4E75 rts
fn00001DBE:
00001DBE 4E56 0000 link A6, 0
00001DC2 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001DC6 3E2E 0008 move.w D7, [A6 + 0x8]
00001DCA 4EBA 006E jsr [PC + 0x6E /* 00001E3A */]
00001DCE 2840 movea.l A4, D0
00001DD0 302D FB0C move.w D0, [A5 - 0x4F4]
00001DD4 48C0 ext.l D0
00001DD6 D080 add.l D0, D0
00001DD8 D08C add.l D0, A4
00001DDA 0680 0000 0060 addi.l D0, 0x60 /* '`' */
00001DE0 2640 movea.l A3, D0
00001DE2 302B 0002 move.w D0, [A3 + 0x2]
00001DE6 5340 subq.w D0, 1
00001DE8 3C00 move.w D6, D0
00001DEA 3013 move.w D0, [A3]
00001DEC D06D FB0E add.w D0, [A5 - 0x4F2]
00001DF0 DE40 add.w D7, D0
00001DF2 BE46 cmp.w D7, D6
00001DF4 6F26 ble +0x28 /* 00001E1C */
00001DF6 3007 move.w D0, D7
00001DF8 9046 sub.w D0, D6
00001DFA 48C0 ext.l D0
00001DFC 2F00 move.l -[A7], D0
00001DFE 42A7 clr.l -[A7]
00001E00 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00001E04 4EBA FF5E jsr [PC - 0xA2 /* 00001D64 */]
00001E08 4FEF 000A lea.l A7, [A7 + 0xA]
00001E0C 3F06 move.w -[A7], D6
00001E0E 3F06 move.w -[A7], D6
00001E10 4EBA FF88 jsr [PC - 0x78 /* 00001D9A */]
00001E14 588F addq.l A7, 4
00001E16 206D FB12 movea.l A0, [A5 - 0x4EE]
00001E1A 2850 movea.l A4, [A0]
label00001E1C:
00001E1C 3947 0022 move.w [A4 + 0x22], D7
00001E20 3947 0020 move.w [A4 + 0x20], D7
00001E24 397C 00FF 0046 move.w [A4 + 0x46], 0xFF
00001E2A 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
00001E2E A9D8 syscall TEActivate
00001E30 3007 move.w D0, D7
00001E32 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00001E36 4E5E unlink A6
00001E38 4E75 rts
fn00001E3A:
00001E3A 206D FB12 movea.l A0, [A5 - 0x4EE]
00001E3E 2050 movea.l A0, [A0]
00001E40 4A68 0024 tst.w [A0 + 0x24]
00001E44 6706 beq +0x8 /* 00001E4C */
00001E46 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
00001E4A A9D9 syscall TEDeactivate
label00001E4C:
00001E4C 206D FB12 movea.l A0, [A5 - 0x4EE]
00001E50 2010 move.l D0, [A0]
00001E52 4E75 rts
fn00001E54:
00001E54 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00001E58 3E2D FB08 move.w D7, [A5 - 0x4F8]
00001E5C 206D FB12 movea.l A0, [A5 - 0x4EE]
00001E60 2850 movea.l A4, [A0]
00001E62 6000 00AA bra +0xAC /* 00001F0E */
label00001E66:
00001E66 3007 move.w D0, D7
00001E68 5347 subq.w D7, 1
00001E6A 48C0 ext.l D0
00001E6C D080 add.l D0, D0
00001E6E D08C add.l D0, A4
00001E70 2040 movea.l A0, D0
00001E72 3028 0060 move.w D0, [A0 + 0x60]
00001E76 5340 subq.w D0, 1
00001E78 3A00 move.w D5, D0
00001E7A 3C00 move.w D6, D0
00001E7C 206C 003E movea.l A0, [A4 + 0x3E]
00001E80 3246 movea.w A1, D6
00001E82 D3D0 add.l A1, [A0]
00001E84 2649 movea.l A3, A1
00001E86 6002 bra +0x4 /* 00001E8A */
label00001E88:
00001E88 5346 subq.w D6, 1
label00001E8A:
00001E8A 4A46 tst.w D6
00001E8C 6708 beq +0xA /* 00001E96 */
00001E8E 538B subq.l A3, 1
00001E90 0C13 0020 cmpi.b [A3], 0x20 /* ' ' */
00001E94 67F2 beq -0xC /* 00001E88 */
label00001E96:
00001E96 082D 0004 FB2A btst.b [A5 - 0x4D6], 0x4
00001E9C 6718 beq +0x1A /* 00001EB6 */
00001E9E 082D 0007 FB2A btst.b [A5 - 0x4D6], 0x7
00001EA4 6610 bne +0x12 /* 00001EB6 */
00001EA6 BE6D FB0C cmp.w D7, [A5 - 0x4F4]
00001EAA 660A bne +0xC /* 00001EB6 */
00001EAC BC6D FB48 cmp.w D6, [A5 - 0x4B8]
00001EB0 6C04 bge +0x6 /* 00001EB6 */
00001EB2 3C2D FB48 move.w D6, [A5 - 0x4B8]
label00001EB6:
00001EB6 9A46 sub.w D5, D6
00001EB8 4A45 tst.w D5
00001EBA 6700 0052 beq +0x54 /* 00001F0E */
00001EBE 42A7 clr.l -[A7]
00001EC0 2F2C 003E move.l -[A7], [A4 + 0x3E]
00001EC4 3046 movea.w A0, D6
00001EC6 2F08 move.l -[A7], A0
00001EC8 42A7 clr.l -[A7]
00001ECA 3045 movea.w A0, D5
00001ECC 2F08 move.l -[A7], A0
00001ECE 486D FBF4 pea.l [A5 - 0x40C]
00001ED2 42A7 clr.l -[A7]
00001ED4 A9E0 syscall Munger
00001ED6 201F move.l D0, [A7]+
00001ED8 206D FB12 movea.l A0, [A5 - 0x4EE]
00001EDC 2850 movea.l A4, [A0]
00001EDE 082D 0004 FB2A btst.b [A5 - 0x4D6], 0x4
00001EE4 6714 beq +0x16 /* 00001EFA */
00001EE6 BC6D FB46 cmp.w D6, [A5 - 0x4BA]
00001EEA 6C04 bge +0x6 /* 00001EF0 */
00001EEC 9B6D FB46 sub.w [A5 - 0x4BA], D5
label00001EF0:
00001EF0 BC6D FB48 cmp.w D6, [A5 - 0x4B8]
00001EF4 6C04 bge +0x6 /* 00001EFA */
00001EF6 9B6D FB48 sub.w [A5 - 0x4B8], D5
label00001EFA:
00001EFA BC6C 0020 cmp.w D6, [A4 + 0x20]
00001EFE 6C04 bge +0x6 /* 00001F04 */
00001F00 9B6C 0020 sub.w [A4 + 0x20], D5
label00001F04:
00001F04 BC6C 0022 cmp.w D6, [A4 + 0x22]
00001F08 6C04 bge +0x6 /* 00001F0E */
00001F0A 9B6C 0022 sub.w [A4 + 0x22], D5
label00001F0E:
00001F0E 4A47 tst.w D7
00001F10 6600 FF54 bne -0xAA /* 00001E66 */
00001F14 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
00001F18 A9D0 syscall TECalText
00001F1A 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00001F1E 4E75 rts
fn00001F20:
00001F20 4E56 FFF8 link A6, -0x0008
00001F24 206D FB00 movea.l A0, [A5 - 0x500]
00001F28 43EE FFF8 lea.l A1, [A6 - 0x8]
00001F2C 41E8 0010 lea.l A0, [A0 + 0x10]
00001F30 22D8 move.l [A1]+, [A0]+
00001F32 22D8 move.l [A1]+, [A0]+
00001F34 486E FFF8 pea.l [A6 - 0x8]
00001F38 A928 syscall InvalRect
00001F3A 486E FFF8 pea.l [A6 - 0x8]
00001F3E 3F3C 0004 move.w -[A7], 0x4
00001F42 3F3C 0004 move.w -[A7], 0x4
00001F46 A8A9 syscall InsetRect
00001F48 206D FB12 movea.l A0, [A5 - 0x4EE]
00001F4C 2050 movea.l A0, [A0]
00001F4E 5088 addq.l A0, 8
00001F50 43EE FFF8 lea.l A1, [A6 - 0x8]
00001F54 20D9 move.l [A0]+, [A1]+
00001F56 20D9 move.l [A0]+, [A1]+
00001F58 302D FB04 move.w D0, [A5 - 0x4FC]
00001F5C C1ED FB08 muls.w D0, [A5 - 0x4F8]
00001F60 322E FFFC move.w D1, [A6 - 0x4]
00001F64 9240 sub.w D1, D0
00001F66 3D41 FFF8 move.w [A6 - 0x8], D1
00001F6A 206D FB12 movea.l A0, [A5 - 0x4EE]
00001F6E 2050 movea.l A0, [A0]
00001F70 43EE FFF8 lea.l A1, [A6 - 0x8]
00001F74 20D9 move.l [A0]+, [A1]+
00001F76 20D9 move.l [A0]+, [A1]+
00001F78 4E5E unlink A6
00001F7A 4E75 rts
fn00001F7C:
00001F7C 4E56 FFF8 link A6, -0x0008
00001F80 2F0C move.l -[A7], A4
00001F82 286E 0008 movea.l A4, [A6 + 0x8]
00001F86 206E 000C movea.l A0, [A6 + 0xC]
00001F8A 4868 0004 pea.l [A0 + 0x4]
00001F8E A874 syscall GetPort
00001F90 206E 000C movea.l A0, [A6 + 0xC]
00001F94 20AD FB36 move.l [A0], [A5 - 0x4CA]
00001F98 200C move.l D0, A4
00001F9A 674C beq +0x4E /* 00001FE8 */
00001F9C 302C 006C move.w D0, [A4 + 0x6C]
00001FA0 B06D FB30 cmp.w D0, [A5 - 0x4D0]
00001FA4 6642 bne +0x44 /* 00001FE8 */
00001FA6 2F0C move.l -[A7], A4
00001FA8 4EBA 0068 jsr [PC + 0x68 /* 00002012 */]
00001FAC 588F addq.l A7, 4
00001FAE 2F0C move.l -[A7], A4
00001FB0 A873 syscall SetPort
00001FB2 4267 clr.w -[A7]
00001FB4 2F2C 007A move.l -[A7], [A4 + 0x7A]
00001FB8 A8E2 syscall EmptyRgn
00001FBA 101F move.b D0, [A7]+
00001FBC 4A00 tst.b D0
00001FBE 6624 bne +0x26 /* 00001FE4 */
00001FC0 41EE FFF8 lea.l A0, [A6 - 0x8]
00001FC4 43EC 0010 lea.l A1, [A4 + 0x10]
00001FC8 20D9 move.l [A0]+, [A1]+
00001FCA 20D9 move.l [A0]+, [A1]+
00001FCC 2F0C move.l -[A7], A4
00001FCE A922 syscall BeginUpdate
00001FD0 486E FFF8 pea.l [A6 - 0x8]
00001FD4 A8A3 syscall EraseRect
00001FD6 486E FFF8 pea.l [A6 - 0x8]
00001FDA 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
00001FDE A9D3 syscall TEUpdate
00001FE0 2F0C move.l -[A7], A4
00001FE2 A923 syscall EndUpdate
label00001FE4:
00001FE4 2B4C FB36 move.l [A5 - 0x4CA], A4
label00001FE8:
00001FE8 285F movea.l A4, [A7]+
00001FEA 4E5E unlink A6
00001FEC 4E75 rts
fn00001FEE:
00001FEE 4E56 0000 link A6, 0
00001FF2 2F0C move.l -[A7], A4
00001FF4 286E 0008 movea.l A4, [A6 + 0x8]
00001FF8 2B54 FB36 move.l [A5 - 0x4CA], [A4]
00001FFC 6708 beq +0xA /* 00002006 */
00001FFE 2F14 move.l -[A7], [A4]
00002000 4EBA 0010 jsr [PC + 0x10 /* 00002012 */]
00002004 588F addq.l A7, 4
label00002006:
00002006 2F2C 0004 move.l -[A7], [A4 + 0x4]
0000200A A873 syscall SetPort
0000200C 285F movea.l A4, [A7]+
0000200E 4E5E unlink A6
00002010 4E75 rts
fn00002012:
00002012 4E56 0000 link A6, 0
00002016 202E 0008 move.l D0, [A6 + 0x8]
0000201A B0AD FB00 cmp.l D0, [A5 - 0x500]
0000201E 6738 beq +0x3A /* 00002058 */
00002020 4AAD FB00 tst.l [A5 - 0x500]
00002024 6716 beq +0x18 /* 0000203C */
00002026 206D FB00 movea.l A0, [A5 - 0x500]
0000202A 2068 0098 movea.l A0, [A0 + 0x98]
0000202E 2050 movea.l A0, [A0]
00002030 43ED FB00 lea.l A1, [A5 - 0x500]
00002034 700A moveq.l D0, 0x0A
label00002036:
00002036 20D9 move.l [A0]+, [A1]+
00002038 51C8 FFFC dbf D0, -0x6 /* 00002036 */
label0000203C:
0000203C 4AAE 0008 tst.l [A6 + 0x8]
00002040 6716 beq +0x18 /* 00002058 */
00002042 206E 0008 movea.l A0, [A6 + 0x8]
00002046 2068 0098 movea.l A0, [A0 + 0x98]
0000204A 2050 movea.l A0, [A0]
0000204C 43ED FB00 lea.l A1, [A5 - 0x500]
00002050 700A moveq.l D0, 0x0A
label00002052:
00002052 22D8 move.l [A1]+, [A0]+
00002054 51C8 FFFC dbf D0, -0x6 /* 00002052 */
label00002058:
00002058 4E5E unlink A6
0000205A 4E75 rts
fn0000205C:
0000205C 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00002060 A029 syscall HLock
00002062 2010 move.l D0, [A0]
00002064 082D 0003 FB2A btst.b [A5 - 0x4D6], 0x3
0000206A 6716 beq +0x18 /* 00002082 */
0000206C 2240 movea.l A1, D0
0000206E 3238 0AB0 move.w D1, [0x00000AB0 /* TEScrpLength */]
00002072 600A bra +0xC /* 0000207E */
label00002074:
00002074 4A19 tst.b [A1]+
00002076 6A06 bpl +0x8 /* 0000207E */
00002078 08A9 0007 FFFF bclr.b [A1 - 0x1], 0x7
label0000207E:
0000207E 51C9 FFF4 dbf D1, -0xE /* 00002074 */
label00002082:
00002082 4E75 rts
fn00002084:
00002084 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00002088 A02A syscall HUnlock
0000208A 4E75 rts
fn0000208C:
0000208C 4E56 FFDE link A6, -0x0022
00002090 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00002094 4EBA FDA4 jsr [PC - 0x25C /* 00001E3A */]
00002098 2840 movea.l A4, D0
0000209A 082D 0004 FB2A btst.b [A5 - 0x4D6], 0x4
000020A0 6712 beq +0x14 /* 000020B4 */
000020A2 082D 0005 FB2A btst.b [A5 - 0x4D6], 0x5
000020A8 660A bne +0xC /* 000020B4 */
000020AA 082D 0006 FB2A btst.b [A5 - 0x4D6], 0x6
000020B0 6700 00F8 beq +0xFA /* 000021AA */
label000020B4:
000020B4 41EE FFE0 lea.l A0, [A6 - 0x20]
000020B8 7002 moveq.l D0, 0x02
000020BA A031 syscall GetOSEvent
000020BC 6606 bne +0x8 /* 000020C4 */
label000020BE:
000020BE 7004 moveq.l D0, 0x04
000020C0 A031 syscall GetOSEvent
000020C2 66FA bne -0x4 /* 000020BE */
label000020C4:
000020C4 4AAD FB26 tst.l [A5 - 0x4DA]
000020C8 6742 beq +0x44 /* 0000210C */
000020CA 302D FB0C move.w D0, [A5 - 0x4F4]
000020CE 48C0 ext.l D0
000020D0 D080 add.l D0, D0
000020D2 D08C add.l D0, A4
000020D4 0680 0000 0060 addi.l D0, 0x60 /* '`' */
000020DA 2640 movea.l A3, D0
000020DC 3953 0020 move.w [A4 + 0x20], [A3]
000020E0 396B 0002 0022 move.w [A4 + 0x22], [A3 + 0x2]
000020E6 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
000020EA A9D5 syscall TECopy
000020EC 4EBA FF6E jsr [PC - 0x92 /* 0000205C */]
000020F0 2F2D FB26 move.l -[A7], [A5 - 0x4DA]
000020F4 3078 0AB0 movea.w A0, [0x00000AB0 /* TEScrpLength */]
000020F8 2F08 move.l -[A7], A0
000020FA 4878 0001 push.l 0x1
000020FE 2F00 move.l -[A7], D0
00002100 4EBA 14A0 jsr [PC + 0x14A0 /* 000035A2 */]
00002104 4FEF 0010 lea.l A7, [A7 + 0x10]
00002108 4EBA FF7A jsr [PC - 0x86 /* 00002084 */]
label0000210C:
0000210C 526D FB0C addq.w [A5 - 0x4F4], 1
00002110 302D FB0C move.w D0, [A5 - 0x4F4]
00002114 B06D FB08 cmp.w D0, [A5 - 0x4F8]
00002118 6600 008C bne +0x8E /* 000021A6 */
0000211C 206D FB12 movea.l A0, [A5 - 0x4EE]
00002120 2850 movea.l A4, [A0]
00002122 2D6C 003E FFF0 move.l [A6 - 0x10], [A4 + 0x3E]
00002128 3E2C 0062 move.w D7, [A4 + 0x62]
0000212C 9F6C 003C sub.w [A4 + 0x3C], D7
00002130 3C2C 003C move.w D6, [A4 + 0x3C]
00002134 526C 003C addq.w [A4 + 0x3C], 1
00002138 41EE FFF8 lea.l A0, [A6 - 0x8]
0000213C 43D4 lea.l A1, [A4]
0000213E 20D9 move.l [A0]+, [A1]+
00002140 20D9 move.l [A0]+, [A1]+
00002142 302D FB04 move.w D0, [A5 - 0x4FC]
00002146 4440 neg.w D0
00002148 42A7 clr.l -[A7]
0000214A 3D40 FFDE move.w [A6 - 0x22], D0
0000214E A8D8 syscall NewRgn
00002150 205F movea.l A0, [A7]+
00002152 2D48 FFF4 move.l [A6 - 0xC], A0
00002156 486E FFF8 pea.l [A6 - 0x8]
0000215A 4267 clr.w -[A7]
0000215C 3F2E FFDE move.w -[A7], [A6 - 0x22]
00002160 4850 pea.l [A0]
00002162 A8EF syscall ScrollRect
00002164 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00002168 A8D9 syscall DisposRgn/DisposeRgn
0000216A 42A7 clr.l -[A7]
0000216C 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00002170 42A7 clr.l -[A7]
00002172 42A7 clr.l -[A7]
00002174 3047 movea.w A0, D7
00002176 2F08 move.l -[A7], A0
00002178 486D FBF6 pea.l [A5 - 0x40A]
0000217C 42A7 clr.l -[A7]
0000217E A9E0 syscall Munger
00002180 201F move.l D0, [A7]+
00002182 42A7 clr.l -[A7]
00002184 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00002188 3046 movea.w A0, D6
0000218A 2F08 move.l -[A7], A0
0000218C 42A7 clr.l -[A7]
0000218E 42A7 clr.l -[A7]
00002190 486D FBF8 pea.l [A5 - 0x408]
00002194 4878 0001 push.l 0x1
00002198 A9E0 syscall Munger
0000219A 201F move.l D0, [A7]+
0000219C 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
000021A0 A9D0 syscall TECalText
000021A2 536D FB0C subq.w [A5 - 0x4F4], 1
label000021A6:
000021A6 426D FB0E clr.w [A5 - 0x4F2]
label000021AA:
000021AA 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
000021AE 4E5E unlink A6
000021B0 4E75 rts
fn000021B2:
000021B2 4E56 FFFA link A6, -0x0006
000021B6 2F0C move.l -[A7], A4
000021B8 4AAD FB74 tst.l [A5 - 0x48C]
000021BC 661C bne +0x1E /* 000021DA */
000021BE 41ED 0272 lea.l A0, [A5 + 0x272 /* export_74 */]
000021C2 2B48 FB6A move.l [A5 - 0x496], A0
000021C6 41ED 027A lea.l A0, [A5 + 0x27A /* export_75 */]
000021CA 2B48 FB70 move.l [A5 - 0x490], A0
000021CE 41ED FB4A lea.l A0, [A5 - 0x4B6]
000021D2 702A moveq.l D0, 0x2A
000021D4 A9E3 syscall PtrToHand
000021D6 2B48 FB74 move.l [A5 - 0x48C], A0
label000021DA:
000021DA 701B moveq.l D0, 0x1B
000021DC 3D40 FFFE move.w [A6 - 0x2], D0
000021E0 6012 bra +0x14 /* 000021F4 */
label000021E2:
000021E2 206E FFFA movea.l A0, [A6 - 0x6]
000021E6 2050 movea.l A0, [A0]
000021E8 0828 0005 0005 btst.b [A0 + 0x5], 0x5
000021EE 6718 beq +0x1A /* 00002208 */
000021F0 526E FFFE addq.w [A6 - 0x2], 1
label000021F4:
000021F4 302E FFFE move.w D0, [A6 - 0x2]
000021F8 48C0 ext.l D0
000021FA E580 asl D0, 2
000021FC D0B8 011C add.l D0, [0x0000011C /* UTableBase */]
00002200 2040 movea.l A0, D0
00002202 2D50 FFFA move.l [A6 - 0x6], [A0]
00002206 66DA bne -0x24 /* 000021E2 */
label00002208:
00002208 302E FFFE move.w D0, [A6 - 0x2]
0000220C 4640 not.w D0
0000220E 3D40 FFFE move.w [A6 - 0x2], D0
00002212 302E FFFE move.w D0, [A6 - 0x2]
00002216 A13D syscall DrvrInstall, flags=1
00002218 2850 movea.l A4, [A0]
0000221A 28AD FB74 move.l [A4], [A5 - 0x48C]
0000221E 396D FB4A 0004 move.w [A4 + 0x4], [A5 - 0x4B6]
00002224 396D FB4E 0024 move.w [A4 + 0x24], [A5 - 0x4B2]
0000222A 302E FFFE move.w D0, [A6 - 0x2]
0000222E 285F movea.l A4, [A7]+
00002230 4E5E unlink A6
00002232 4E75 rts
export_75:
00002234 70E8 moveq.l D0, 0xFFFFFFE8
00002236 4E75 rts
export_74:
00002238 4E56 FFEA link A6, -0x0016
0000223C 48E7 0018 movem.l -[A7], A3,A4
00002240 2F0D move.l -[A7], A5
00002242 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
00002246 2848 movea.l A4, A0
00002248 2D49 FFFC move.l [A6 - 0x4], A1
0000224C 42A7 clr.l -[A7]
0000224E A924 syscall FrontWindow
00002250 205F movea.l A0, [A7]+
00002252 486E FFF4 pea.l [A6 - 0xC]
00002256 4850 pea.l [A0]
00002258 4EBA FD22 jsr [PC - 0x2DE /* 00001F7C */]
0000225C 508F addq.l A7, 8
0000225E 302C 001A move.w D0, [A4 + 0x1A]
00002262 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00002266 0040 0049 ori.w D0, 0x49 /* 'I' */
0000226A 00B0 0042 00AC 0010 ori.l [A0 + D0.w + 0x10], 0x4200AC
00002272 00A8 00A6 00A4 0010 ori.l [A0 + 0x10], 0xA600A4
0000227A 0016 001C ori.b [A6], 0x1C
0000227E 0022 4EBA ori.b -[A2], 0xBA
00002282 00BC 6000 0094 4EBA 0564 ori.l 0x4EBA0564, 0x60000094
0000228C 6000 008C bra +0x8E /* 0000231A */
00002290 4EBA 05AA jsr [PC + 0x5AA /* 0000283C */]
00002294 6000 0084 bra +0x86 /* 0000231A */
00002298 4EBA 05E6 jsr [PC + 0x5E6 /* 00002880 */]
0000229C 6000 007C bra +0x7E /* 0000231A */
000022A0 3F3C 001B move.w -[A7], 0x1B
000022A4 4EBA 0336 jsr [PC + 0x336 /* 000025DC */]
000022A8 548F addq.l A7, 2
000022AA 6000 006E bra +0x70 /* 0000231A */
000022AE 266C 001C movea.l A3, [A4 + 0x1C]
000022B2 3013 move.w D0, [A3]
000022B4 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
000022B8 0001 0006 ori.b D1, 0x6
000022BC 005E 001C ori.w [A6]+, 0x1C
000022C0 005A 0022 ori.w [A2]+, 0x22 /* '\"' */
000022C4 0056 001E ori.w [A6], 0x1E
000022C8 0002 486E ori.b D2, 0x6E /* 'n' */
000022CC FFEC .invalid <<F/7/7>>
000022CE 2F2B 0002 move.l -[A7], [A3 + 0x2]
000022D2 4EBA FCA8 jsr [PC - 0x358 /* 00001F7C */]
000022D6 508F addq.l A7, 8
000022D8 6040 bra +0x42 /* 0000231A */
000022DA 2F0B move.l -[A7], A3
000022DC 4EBA 00A2 jsr [PC + 0xA2 /* 00002380 */]
000022E0 588F addq.l A7, 4
000022E2 6036 bra +0x38 /* 0000231A */
000022E4 7000 moveq.l D0, 0x00
000022E6 102B 0005 move.b D0, [A3 + 0x5]
000022EA 3D40 FFEA move.w [A6 - 0x16], D0
000022EE 082B 0000 000E btst.b [A3 + 0xE], 0x0
000022F4 6714 beq +0x16 /* 0000230A */
000022F6 0C53 0005 cmpi.w [A3], 0x5
000022FA 671E beq +0x20 /* 0000231A */
000022FC 3F2E FFEA move.w -[A7], [A6 - 0x16]
00002300 4EBA 023E jsr [PC + 0x23E /* 00002540 */]
00002304 548F addq.l A7, 2
00002306 3D40 FFEA move.w [A6 - 0x16], D0
label0000230A:
0000230A 4A6E FFEA tst.w [A6 - 0x16]
0000230E 670A beq +0xC /* 0000231A */
00002310 3F2E FFEA move.w -[A7], [A6 - 0x16]
00002314 4EBA 02C6 jsr [PC + 0x2C6 /* 000025DC */]
00002318 548F addq.l A7, 2
label0000231A:
0000231A 206D FB74 movea.l A0, [A5 - 0x48C]
0000231E A02A syscall HUnlock
00002320 206E FFFC movea.l A0, [A6 - 0x4]
00002324 A528 syscall RecoverHandle, flags=5
00002326 A02A syscall HUnlock
00002328 486E FFF4 pea.l [A6 - 0xC]
0000232C 4EBA FCC0 jsr [PC - 0x340 /* 00001FEE */]
00002330 588F addq.l A7, 4
00002332 2A5F movea.l A5, [A7]+
00002334 7000 moveq.l D0, 0x00
00002336 4CDF 1800 movem.l A3,A4, [A7]+
0000233A 4E5E unlink A6
0000233C 4E75 rts
0000233E 4E56 FFFC link A6, -0x0004
00002342 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
00002346 A9DA syscall TEIdle
00002348 486E FFFC pea.l [A6 - 0x4]
0000234C A972 syscall GetMouse
0000234E 4267 clr.w -[A7]
00002350 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002354 206D FB00 movea.l A0, [A5 - 0x500]
00002358 4868 0010 pea.l [A0 + 0x10]
0000235C A8AD syscall PtInRect
0000235E 101F move.b D0, [A7]+
00002360 4A00 tst.b D0
00002362 6710 beq +0x12 /* 00002374 */
00002364 42A7 clr.l -[A7]
00002366 3F3C 0001 move.w -[A7], 0x1
0000236A A9B9 syscall GetCursor
0000236C 205F movea.l A0, [A7]+
0000236E 2F10 move.l -[A7], [A0]
00002370 A851 syscall SetCursor
00002372 6008 bra +0xA /* 0000237C */
label00002374:
00002374 2055 movea.l A0, [A5]
00002376 4868 FF94 pea.l [A0 - 0x6C]
0000237A A851 syscall SetCursor
label0000237C:
0000237C 4E5E unlink A6
0000237E 4E75 rts
fn00002380:
00002380 4E56 FFFE link A6, -0x0002
00002384 2F0C move.l -[A7], A4
00002386 286E 0008 movea.l A4, [A6 + 0x8]
0000238A 206D FB00 movea.l A0, [A5 - 0x500]
0000238E 7008 moveq.l D0, 0x08
00002390 3140 006C move.w [A0 + 0x6C], D0
00002394 4267 clr.w -[A7]
00002396 2F2C 000A move.l -[A7], [A4 + 0xA]
0000239A 486D FB00 pea.l [A5 - 0x500]
0000239E A92C syscall FindWindow
000023A0 301F move.w D0, [A7]+
000023A2 3D40 FFFE move.w [A6 - 0x2], D0
000023A6 206D FB00 movea.l A0, [A5 - 0x500]
000023AA 316D FB30 006C move.w [A0 + 0x6C], [A5 - 0x4D0]
000023B0 302E FFFE move.w D0, [A6 - 0x2]
000023B4 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
000023B8 0003 0008 ori.b D3, 0x8
000023BC 003E 0034 ori.b <<invalid special address>>, 0x34 /* '4' */
000023C0 003A 0018 0036 ori.b [PC + 0x36 /* 000023F8, value 0x58 'X' */], 0x18
000023C6 0004 0002 ori.b D4, 0x2
000023CA 3F2E FFFE move.w -[A7], [A6 - 0x2]
000023CE 2F2C 000A move.l -[A7], [A4 + 0xA]
000023D2 4EBA 002C jsr [PC + 0x2C /* 00002400 */]
000023D6 5C8F addq.l A7, 6
000023D8 6020 bra +0x22 /* 000023FA */
000023DA 303C 0900 move.w D0, 0x900 /* '\t\0' */
000023DE C06C 000E and.w D0, [A4 + 0xE]
000023E2 4A40 tst.w D0
000023E4 660C bne +0xE /* 000023F2 */
000023E6 2F2C 000A move.l -[A7], [A4 + 0xA]
000023EA 4EBA 004E jsr [PC + 0x4E /* 0000243A */]
000023EE 588F addq.l A7, 4
000023F0 6008 bra +0xA /* 000023FA */
label000023F2:
000023F2 2F0C move.l -[A7], A4
000023F4 4EBA 008C jsr [PC + 0x8C /* 00002482 */]
000023F8 588F addq.l A7, 4
label000023FA:
000023FA 285F movea.l A4, [A7]+
000023FC 4E5E unlink A6
000023FE 4E75 rts
fn00002400:
00002400 4E56 0000 link A6, 0
00002404 2F0C move.l -[A7], A4
00002406 286D FB00 movea.l A4, [A5 - 0x500]
0000240A A850 syscall InitCursor
0000240C 4267 clr.w -[A7]
0000240E 2F0C move.l -[A7], A4
00002410 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002414 3F2E 000C move.w -[A7], [A6 + 0xC]
00002418 A83B syscall TrackBox
0000241A 101F move.b D0, [A7]+
0000241C 4A00 tst.b D0
0000241E 6714 beq +0x16 /* 00002434 */
00002420 486C 0010 pea.l [A4 + 0x10]
00002424 A8A3 syscall EraseRect
00002426 2F0C move.l -[A7], A4
00002428 3F2E 000C move.w -[A7], [A6 + 0xC]
0000242C 4267 clr.w -[A7]
0000242E A83A syscall ZoomWindow
00002430 4EBA FAEE jsr [PC - 0x512 /* 00001F20 */]
label00002434:
00002434 285F movea.l A4, [A7]+
00002436 4E5E unlink A6
00002438 4E75 rts
fn0000243A:
0000243A 4E56 FFFC link A6, -0x0004
0000243E 2F0C move.l -[A7], A4
00002440 286D FB00 movea.l A4, [A5 - 0x500]
00002444 A850 syscall InitCursor
00002446 2B6D FB16 FB84 move.l [A5 - 0x47C], [A5 - 0x4EA]
0000244C 42A7 clr.l -[A7]
0000244E 2F0C move.l -[A7], A4
00002450 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002454 486D FB80 pea.l [A5 - 0x480]
00002458 A92B syscall GrowWindow
0000245A 201F move.l D0, [A7]+
0000245C 2D40 FFFC move.l [A6 - 0x4], D0
00002460 4A80 tst.l D0
00002462 6718 beq +0x1A /* 0000247C */
00002464 486C 0010 pea.l [A4 + 0x10]
00002468 A8A3 syscall EraseRect
0000246A 2F0C move.l -[A7], A4
0000246C 3F2E FFFE move.w -[A7], [A6 - 0x2]
00002470 3F2E FFFC move.w -[A7], [A6 - 0x4]
00002474 4267 clr.w -[A7]
00002476 A91D syscall SizeWindow
00002478 4EBA FAA6 jsr [PC - 0x55A /* 00001F20 */]
label0000247C:
0000247C 285F movea.l A4, [A7]+
0000247E 4E5E unlink A6
00002480 4E75 rts
fn00002482:
00002482 4E56 FFFE link A6, -0x0002
00002486 48E7 0018 movem.l -[A7], A3,A4
0000248A 286E 0008 movea.l A4, [A6 + 0x8]
0000248E 426E FFFE clr.w [A6 - 0x2]
00002492 206D FB12 movea.l A0, [A5 - 0x4EE]
00002496 2050 movea.l A0, [A0]
00002498 4A68 0024 tst.w [A0 + 0x24]
0000249C 660A bne +0xC /* 000024A8 */
0000249E 4267 clr.w -[A7]
000024A0 4EBA F91C jsr [PC - 0x6E4 /* 00001DBE */]
000024A4 548F addq.l A7, 2
000024A6 600E bra +0x10 /* 000024B6 */
label000024A8:
000024A8 082C 0001 000E btst.b [A4 + 0xE], 0x1
000024AE 6706 beq +0x8 /* 000024B6 */
000024B0 7001 moveq.l D0, 0x01
000024B2 3D40 FFFE move.w [A6 - 0x2], D0
label000024B6:
000024B6 4EBA F99C jsr [PC - 0x664 /* 00001E54 */]
000024BA 486C 000A pea.l [A4 + 0xA]
000024BE A871 syscall GlobalToLocal
000024C0 2F2C 000A move.l -[A7], [A4 + 0xA]
000024C4 1F2E FFFF move.b -[A7], [A6 - 0x1]
000024C8 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
000024CC A9D4 syscall TEClick
000024CE 206D FB12 movea.l A0, [A5 - 0x4EE]
000024D2 2650 movea.l A3, [A0]
000024D4 302B 0020 move.w D0, [A3 + 0x20]
000024D8 B06B 0022 cmp.w D0, [A3 + 0x22]
000024DC 6600 005A bne +0x5C /* 00002538 */
000024E0 377C 00FF 0046 move.w [A3 + 0x46], 0xFF
000024E6 082D 0004 FB2A btst.b [A5 - 0x4D6], 0x4
000024EC 6708 beq +0xA /* 000024F6 */
000024EE 082D 0007 FB2A btst.b [A5 - 0x4D6], 0x7
000024F4 6708 beq +0xA /* 000024FE */
label000024F6:
000024F6 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
000024FA A9D9 syscall TEDeactivate
000024FC 603A bra +0x3C /* 00002538 */
label000024FE:
000024FE 302B 0020 move.w D0, [A3 + 0x20]
00002502 B06D FB46 cmp.w D0, [A5 - 0x4BA]
00002506 6C14 bge +0x16 /* 0000251C */
00002508 306D FB46 movea.w A0, [A5 - 0x4BA]
0000250C 2F08 move.l -[A7], A0
0000250E 306D FB46 movea.w A0, [A5 - 0x4BA]
00002512 2F08 move.l -[A7], A0
00002514 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
00002518 A9D1 syscall TESetSelect
0000251A 601C bra +0x1E /* 00002538 */
label0000251C:
0000251C 302B 0022 move.w D0, [A3 + 0x22]
00002520 B06D FB48 cmp.w D0, [A5 - 0x4B8]
00002524 6F12 ble +0x14 /* 00002538 */
00002526 306D FB48 movea.w A0, [A5 - 0x4B8]
0000252A 2F08 move.l -[A7], A0
0000252C 306D FB48 movea.w A0, [A5 - 0x4B8]
00002530 2F08 move.l -[A7], A0
00002532 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
00002536 A9D1 syscall TESetSelect
label00002538:
00002538 4CDF 1800 movem.l A3,A4, [A7]+
0000253C 4E5E unlink A6
0000253E 4E75 rts
fn00002540:
00002540 4E56 0000 link A6, 0
00002544 082D 0007 FB2A btst.b [A5 - 0x4D6], 0x7
0000254A 670A beq +0xC /* 00002556 */
0000254C 701F moveq.l D0, 0x1F
0000254E C06E 0008 and.w D0, [A6 + 0x8]
00002552 6000 0084 bra +0x86 /* 000025D8 */
label00002556:
00002556 302E 0008 move.w D0, [A6 + 0x8]
0000255A 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
0000255E 000F 003E ori.b A7, 0x3E /* '>' */
00002562 0078 003A 0058 ori.w [0x00000058], 0x3A /* ':' */
00002568 003C 0063 ori.b ccr, 99
0000256C 0038 0043 003A ori.b [0x0000003A], 0x43 /* 'C' */
00002572 0076 0036 0056 ori.w [A6 + D0.w + 0x56], 0x36 /* '6' */
00002578 0038 002E 0040 ori.b [0x00000040], 0x2E /* '.' */
0000257E 0064 003C ori.w -[A4], 0x3C /* '<' */
00002582 0044 003C ori.w D4, 0x3C /* '<' */
00002586 0075 0038 0055 ori.w [A5 + D0.w + 0x55], 0x38 /* '8' */
0000258C 0034 007A 0030 ori.b [A4 + D0.w + 0x30], 0x7A /* 'z' */
00002592 005A 0030 ori.w [A2]+, 0x30 /* '0' */
00002596 0071 002C 0051 ori.w [A1 + D0.w + 0x51], 0x2C /* ',' */
0000259C 003A 4EBA 024E ori.b [PC + 0x24E /* 000027EC, value 0x4E 'N' */], 0xBA
000025A2 6032 bra +0x34 /* 000025D6 */
000025A4 4EBA 0296 jsr [PC + 0x296 /* 0000283C */]
000025A8 602C bra +0x2E /* 000025D6 */
000025AA 4EBA 02D4 jsr [PC + 0x2D4 /* 00002880 */]
000025AE 6026 bra +0x28 /* 000025D6 */
000025B0 4A2D FB2C tst.b [A5 - 0x4D4]
000025B4 6706 beq +0x8 /* 000025BC */
000025B6 7001 moveq.l D0, 0x01
000025B8 1B40 FB2E move.b [A5 - 0x4D2], D0
label000025BC:
000025BC 7004 moveq.l D0, 0x04
000025BE 6018 bra +0x1A /* 000025D8 */
000025C0 7015 moveq.l D0, 0x15
000025C2 6014 bra +0x16 /* 000025D8 */
000025C4 4A2D FB2C tst.b [A5 - 0x4D4]
000025C8 670C beq +0xE /* 000025D6 */
000025CA 426D FAFC clr.w [A5 - 0x504]
000025CE 4267 clr.w -[A7]
000025D0 4EBA E0EA jsr [PC - 0x1F16 /* 000006BC */]
000025D4 548F addq.l A7, 2
label000025D6:
000025D6 7000 moveq.l D0, 0x00
label000025D8:
000025D8 4E5E unlink A6
000025DA 4E75 rts
fn000025DC:
000025DC 4E56 0000 link A6, 0
000025E0 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000025E4 3E2E 0008 move.w D7, [A6 + 0x8]
000025E8 206D FB12 movea.l A0, [A5 - 0x4EE]
000025EC 2850 movea.l A4, [A0]
000025EE 3C2C 0020 move.w D6, [A4 + 0x20]
000025F2 3A2C 0022 move.w D5, [A4 + 0x22]
000025F6 082D 0004 FB2A btst.b [A5 - 0x4D6], 0x4
000025FC 6700 01E2 beq +0x1E4 /* 000027E0 */
00002600 082D 0003 FB2A btst.b [A5 - 0x4D6], 0x3
00002606 6708 beq +0xA /* 00002610 */
00002608 0C47 007F cmpi.w D7, 0x7F
0000260C 6200 01D2 bhi +0x1D4 /* 000027E0 */
label00002610:
00002610 082D 0007 FB2A btst.b [A5 - 0x4D6], 0x7
00002616 6712 beq +0x14 /* 0000262A */
00002618 206D FB3E movea.l A0, [A5 - 0x4C2]
0000261C 52AD FB3E addq.l [A5 - 0x4C2], 1
00002620 1087 move.b [A0], D7
00002622 42AD FB42 clr.l [A5 - 0x4BE]
00002626 6000 01BE bra +0x1C0 /* 000027E6 */
label0000262A:
0000262A 0C47 0020 cmpi.w D7, 0x20 /* ' ' */
0000262E 6C00 00F2 bge +0xF4 /* 00002722 */
00002632 3007 move.w D0, D7
00002634 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
00002638 000B 002E ori.b A3, 0x2E /* '.' */
0000263C 0015 002A ori.b [A5], 0x2A /* '*' */
00002640 001B 0044 ori.b [A3]+, 0x44 /* 'D' */
00002644 0008 006C ori.b A0, 0x6C /* 'l' */
00002648 001C 0074 ori.b [A4]+, 0x74 /* 't' */
0000264C 001D 007C ori.b [A5]+, 0x7C /* '|' */
00002650 001E 0080 ori.b [A6]+, 0x80
00002654 001F 007C ori.b [A7]+, 0x7C /* '|' */
00002658 0009 0080 ori.b A1, 0x80
0000265C 0004 007C ori.b D4, 0x7C /* '|' */
00002660 000D 0078 ori.b A5, 0x78 /* 'x' */
00002664 0003 0180 ori.b D3, 0x80
00002668 202D FB3E move.l D0, [A5 - 0x4C2]
0000266C 90AD FB3A sub.l D0, [A5 - 0x4C6]
00002670 D1AD FB42 add.l [A5 - 0x4BE], D0
00002674 2B6D FB3A FB3E move.l [A5 - 0x4C2], [A5 - 0x4C6]
0000267A 3C2D FB46 move.w D6, [A5 - 0x4BA]
0000267E 3A2D FB48 move.w D5, [A5 - 0x4B8]
00002682 6000 009E bra +0xA0 /* 00002722 */
00002686 082D 0005 FB2A btst.b [A5 - 0x4D6], 0x5
0000268C 6600 0094 bne +0x96 /* 00002722 */
00002690 082D 0006 FB2A btst.b [A5 - 0x4D6], 0x6
00002696 6600 00F4 bne +0xF6 /* 0000278C */
0000269A 202D FB3E move.l D0, [A5 - 0x4C2]
0000269E B0AD FB3A cmp.l D0, [A5 - 0x4C6]
000026A2 6700 013C beq +0x13E /* 000027E0 */
000026A6 53AD FB3E subq.l [A5 - 0x4C2], 1
000026AA 52AD FB42 addq.l [A5 - 0x4BE], 1
000026AE 6000 010A bra +0x10C /* 000027BA */
000026B2 BC45 cmp.w D6, D5
000026B4 6600 0104 bne +0x106 /* 000027BA */
000026B8 5346 subq.w D6, 1
000026BA 6000 00FE bra +0x100 /* 000027BA */
000026BE BC45 cmp.w D6, D5
000026C0 6602 bne +0x4 /* 000026C4 */
000026C2 5245 addq.w D5, 1
label000026C4:
000026C4 3C05 move.w D6, D5
000026C6 6000 00F2 bra +0xF4 /* 000027BA */
000026CA 3C2D FB46 move.w D6, [A5 - 0x4BA]
000026CE 6000 00EA bra +0xEC /* 000027BA */
000026D2 3C2D FB48 move.w D6, [A5 - 0x4B8]
000026D6 6000 00E2 bra +0xE4 /* 000027BA */
000026DA 302D FB48 move.w D0, [A5 - 0x4B8]
000026DE 906D FB46 sub.w D0, [A5 - 0x4BA]
000026E2 3800 move.w D4, D0
000026E4 4A40 tst.w D0
000026E6 671C beq +0x1E /* 00002704 */
000026E8 206C 003E movea.l A0, [A4 + 0x3E]
000026EC 326D FB46 movea.w A1, [A5 - 0x4BA]
000026F0 D3D0 add.l A1, [A0]
000026F2 2649 movea.l A3, A1
000026F4 206D FB3E movea.l A0, [A5 - 0x4C2]
000026F8 6002 bra +0x4 /* 000026FC */
label000026FA:
000026FA 10DB move.b [A0]+, [A3]+
label000026FC:
000026FC 51CC FFFC dbf D4, -0x6 /* 000026FA */
00002700 2B48 FB3E move.l [A5 - 0x4C2], A0
label00002704:
00002704 0C47 0004 cmpi.w D7, 0x4
00002708 670C beq +0xE /* 00002716 */
0000270A 206D FB3E movea.l A0, [A5 - 0x4C2]
0000270E 52AD FB3E addq.l [A5 - 0x4C2], 1
00002712 700A moveq.l D0, 0x0A
00002714 1080 move.b [A0], D0
label00002716:
00002716 4EBA F974 jsr [PC - 0x68C /* 0000208C */]
0000271A 42AD FB42 clr.l [A5 - 0x4BE]
0000271E 6000 00C6 bra +0xC8 /* 000027E6 */
label00002722:
00002722 082D 0005 FB2A btst.b [A5 - 0x4D6], 0x5
00002728 6726 beq +0x28 /* 00002750 */
0000272A BC45 cmp.w D6, D5
0000272C 6608 bne +0xA /* 00002736 */
0000272E 0C47 0008 cmpi.w D7, 0x8
00002732 661C bne +0x1E /* 00002750 */
00002734 5346 subq.w D6, 1
label00002736:
00002736 BC6D FB46 cmp.w D6, [A5 - 0x4BA]
0000273A 6D00 00A4 blt +0xA6 /* 000027E0 */
0000273E BA6D FB48 cmp.w D5, [A5 - 0x4B8]
00002742 6E00 009C bgt +0x9E /* 000027E0 */
00002746 3F05 move.w -[A7], D5
00002748 3F06 move.w -[A7], D6
0000274A 4EBA F502 jsr [PC - 0xAFE /* 00001C4E */]
0000274E 588F addq.l A7, 4
label00002750:
00002750 0C47 0020 cmpi.w D7, 0x20 /* ' ' */
00002754 6D00 0064 blt +0x66 /* 000027BA */
00002758 302D FB48 move.w D0, [A5 - 0x4B8]
0000275C 906D FB46 sub.w D0, [A5 - 0x4BA]
00002760 222D FB42 move.l D1, [A5 - 0x4BE]
00002764 5381 subq.l D1, 1
00002766 48C0 ext.l D0
00002768 B081 cmp.l D0, D1
0000276A 6608 bne +0xA /* 00002774 */
0000276C 3F3C 0002 move.w -[A7], 0x2
00002770 A9C8 syscall SysBeep
00002772 6046 bra +0x48 /* 000027BA */
label00002774:
00002774 082D 0005 FB2A btst.b [A5 - 0x4D6], 0x5
0000277A 6710 beq +0x12 /* 0000278C */
0000277C 3006 move.w D0, D6
0000277E 5246 addq.w D6, 1
00002780 3F00 move.w -[A7], D0
00002782 3F07 move.w -[A7], D7
00002784 4EBA F558 jsr [PC - 0xAA8 /* 00001CDE */]
00002788 588F addq.l A7, 4
0000278A 602E bra +0x30 /* 000027BA */
label0000278C:
0000278C 206D FB3E movea.l A0, [A5 - 0x4C2]
00002790 52AD FB3E addq.l [A5 - 0x4C2], 1
00002794 1087 move.b [A0], D7
00002796 082D 0006 FB2A btst.b [A5 - 0x4D6], 0x6
0000279C 6718 beq +0x1A /* 000027B6 */
0000279E 3F3C 0001 move.w -[A7], 0x1
000027A2 206D FB3E movea.l A0, [A5 - 0x4C2]
000027A6 4868 FFFF pea.l [A0 - 0x1]
000027AA 4EBA F2C8 jsr [PC - 0xD38 /* 00001A74 */]
000027AE 5C8F addq.l A7, 6
000027B0 42AD FB42 clr.l [A5 - 0x4BE]
000027B4 6030 bra +0x32 /* 000027E6 */
label000027B6:
000027B6 53AD FB42 subq.l [A5 - 0x4BE], 1
label000027BA:
000027BA BC6D FB48 cmp.w D6, [A5 - 0x4B8]
000027BE 6F06 ble +0x8 /* 000027C6 */
000027C0 3C2D FB48 move.w D6, [A5 - 0x4B8]
000027C4 600A bra +0xC /* 000027D0 */
label000027C6:
000027C6 BC6D FB46 cmp.w D6, [A5 - 0x4BA]
000027CA 6C04 bge +0x6 /* 000027D0 */
000027CC 3C2D FB46 move.w D6, [A5 - 0x4BA]
label000027D0:
000027D0 3006 move.w D0, D6
000027D2 906D FB46 sub.w D0, [A5 - 0x4BA]
000027D6 3F00 move.w -[A7], D0
000027D8 4EBA F5E4 jsr [PC - 0xA1C /* 00001DBE */]
000027DC 548F addq.l A7, 2
000027DE 6006 bra +0x8 /* 000027E6 */
label000027E0:
000027E0 3F3C 0002 move.w -[A7], 0x2
000027E4 A9C8 syscall SysBeep
label000027E6:
000027E6 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
000027EA 4E5E unlink A6
000027EC 4E75 rts
000027EE 2F0C move.l -[A7], A4
000027F0 206D FB12 movea.l A0, [A5 - 0x4EE]
000027F4 2850 movea.l A4, [A0]
000027F6 4A6C 0024 tst.w [A4 + 0x24]
000027FA 673C beq +0x3E /* 00002838 */
000027FC 302C 0020 move.w D0, [A4 + 0x20]
00002800 B06C 0022 cmp.w D0, [A4 + 0x22]
00002804 6C32 bge +0x34 /* 00002838 */
00002806 082D 0004 FB2A btst.b [A5 - 0x4D6], 0x4
0000280C 6714 beq +0x16 /* 00002822 */
0000280E 302C 0020 move.w D0, [A4 + 0x20]
00002812 B06D FB46 cmp.w D0, [A5 - 0x4BA]
00002816 6D0A blt +0xC /* 00002822 */
00002818 302C 0022 move.w D0, [A4 + 0x22]
0000281C B06D FB48 cmp.w D0, [A5 - 0x4B8]
00002820 6F08 ble +0xA /* 0000282A */
label00002822:
00002822 3F3C 0002 move.w -[A7], 0x2
00002826 A9C8 syscall SysBeep
00002828 600E bra +0x10 /* 00002838 */
label0000282A:
0000282A 4EBA 0010 jsr [PC + 0x10 /* 0000283C */]
0000282E 3F3C 0008 move.w -[A7], 0x8
00002832 4EBA FDA8 jsr [PC - 0x258 /* 000025DC */]
00002836 548F addq.l A7, 2
label00002838:
00002838 285F movea.l A4, [A7]+
0000283A 4E75 rts
fn0000283C:
0000283C 2F0C move.l -[A7], A4
0000283E 206D FB12 movea.l A0, [A5 - 0x4EE]
00002842 2850 movea.l A4, [A0]
00002844 4A6C 0024 tst.w [A4 + 0x24]
00002848 6732 beq +0x34 /* 0000287C */
0000284A 302C 0020 move.w D0, [A4 + 0x20]
0000284E B06C 0022 cmp.w D0, [A4 + 0x22]
00002852 6C28 bge +0x2A /* 0000287C */
00002854 2F2D FB12 move.l -[A7], [A5 - 0x4EE]
00002858 A9D5 syscall TECopy
0000285A 42A7 clr.l -[A7]
0000285C A9FC syscall ZeroScrap
0000285E 201F move.l D0, [A7]+
00002860 4EBA F7FA jsr [PC - 0x806 /* 0000205C */]
00002864 42A7 clr.l -[A7]
00002866 3078 0AB0 movea.w A0, [0x00000AB0 /* TEScrpLength */]
0000286A 2F08 move.l -[A7], A0
0000286C 4879 5445 5854 push.l 0x54455854 /* 'TEXT' */
00002872 2F00 move.l -[A7], D0
00002874 A9FE syscall PutScrap
00002876 201F move.l D0, [A7]+
00002878 4EBA F80A jsr [PC - 0x7F6 /* 00002084 */]
label0000287C:
0000287C 285F movea.l A4, [A7]+
0000287E 4E75 rts
fn00002880:
00002880 082D 0004 FB2A btst.b [A5 - 0x4D6], 0x4
00002886 6720 beq +0x22 /* 000028A8 */
00002888 206D FB12 movea.l A0, [A5 - 0x4EE]
0000288C 2050 movea.l A0, [A0]
0000288E 3028 0020 move.w D0, [A0 + 0x20]
00002892 B06D FB46 cmp.w D0, [A5 - 0x4BA]
00002896 6D10 blt +0x12 /* 000028A8 */
00002898 206D FB12 movea.l A0, [A5 - 0x4EE]
0000289C 2050 movea.l A0, [A0]
0000289E 3028 0022 move.w D0, [A0 + 0x22]
000028A2 B06D FB48 cmp.w D0, [A5 - 0x4B8]
000028A6 6F08 ble +0xA /* 000028B0 */
label000028A8:
000028A8 3F3C 0002 move.w -[A7], 0x2
000028AC A9C8 syscall SysBeep
000028AE 6038 bra +0x3A /* 000028E8 */
label000028B0:
000028B0 42A7 clr.l -[A7]
000028B2 2F38 0AB4 move.l -[A7], [0x00000AB4 /* TEScrpHandle */]
000028B6 4879 5445 5854 push.l 0x54455854 /* 'TEXT' */
000028BC 486D FB1E pea.l [A5 - 0x4E2]
000028C0 A9FD syscall GetScrap
000028C2 201F move.l D0, [A7]+
000028C4 2B40 FB22 move.l [A5 - 0x4DE], D0
000028C8 4A80 tst.l D0
000028CA 6F18 ble +0x1A /* 000028E4 */
000028CC 2B78 0AB4 FB1A move.l [A5 - 0x4E6], [0x00000AB4 /* TEScrpHandle */]
000028D2 42A7 clr.l -[A7]
000028D4 42A7 clr.l -[A7]
000028D6 4EBA 022C jsr [PC + 0x22C /* 00002B04 */]
000028DA 205F movea.l A0, [A7]+
000028DC 21C8 0AB4 move.l [0x00000AB4 /* TEScrpHandle */], A0
000028E0 42AD FB1E clr.l [A5 - 0x4E2]
label000028E4:
000028E4 4278 0AB0 clr.w [0x00000AB0 /* TEScrpLength */]
label000028E8:
000028E8 4E75 rts
fn000028EA:
000028EA 303C A89F move.w D0, 0xA89F
000028EE A146 syscall GetTrapAddress, flags=1
000028F0 2248 movea.l A1, A0
000028F2 303C A8FD move.w D0, 0xA8FD
000028F6 A146 syscall GetTrapAddress, flags=1
000028F8 B3C8 cmpa.l A1, A0
000028FA 660A bne +0xC /* 00002906 */
000028FC 206D FB26 movea.l A0, [A5 - 0x4DA]
00002900 0890 0000 bclr.b [A0], 0x0
00002904 602A bra +0x2C /* 00002930 */
label00002906:
00002906 4A2D FB2D tst.b [A5 - 0x4D3]
0000290A 6624 bne +0x26 /* 00002930 */
0000290C 2F3C C800 0000 move.l -[A7], 0xC8000000
00002912 A8FD syscall PrGlue
00002914 4267 clr.w -[A7]
00002916 2F3C BA00 0000 move.l -[A7], 0xBA000000
0000291C A8FD syscall PrGlue
0000291E 301F move.w D0, [A7]+
00002920 4A40 tst.w D0
00002922 660C bne +0xE /* 00002930 */
00002924 4EBA 000C jsr [PC + 0xC /* 00002932 */]
00002928 2F3C D000 0000 move.l -[A7], 0xD0000000
0000292E A8FD syscall PrGlue
label00002930:
00002930 4E75 rts
fn00002932:
00002932 4E56 FDC8 link A6, -0x0238
00002936 2F0C move.l -[A7], A4
00002938 42A7 clr.l -[A7]
0000293A 4878 0078 push.l 0x78 /* 'x' */
0000293E 4EBA 01C4 jsr [PC + 0x1C4 /* 00002B04 */]
00002942 205F movea.l A0, [A7]+
00002944 2D48 FFFC move.l [A6 - 0x4], A0
00002948 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000294C 2F3C 2004 0480 move.l -[A7], 0x20040480
00002952 A8FD syscall PrGlue
00002954 4AAD FB88 tst.l [A5 - 0x478]
00002958 671A beq +0x1C /* 00002974 */
0000295A 2F2D FB88 move.l -[A7], [A5 - 0x478]
0000295E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002962 2F3C 5804 089C move.l -[A7], 0x5804089C
00002968 A8FD syscall PrGlue
0000296A 2F2D FB88 move.l -[A7], [A5 - 0x478]
0000296E 4EBA 01AC jsr [PC + 0x1AC /* 00002B1C */]
00002972 6020 bra +0x22 /* 00002994 */
label00002974:
00002974 A850 syscall InitCursor
00002976 4267 clr.w -[A7]
00002978 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000297C 2F3C 3204 0488 move.l -[A7], 0x32040488
00002982 A8FD syscall PrGlue
00002984 101F move.b D0, [A7]+
00002986 4A00 tst.b D0
00002988 660A bne +0xC /* 00002994 */
0000298A 7001 moveq.l D0, 0x01
0000298C 1B40 FB2D move.b [A5 - 0x4D3], D0
00002990 6000 016C bra +0x16E /* 00002AFE */
label00002994:
00002994 2B6E FFFC FB88 move.l [A5 - 0x478], [A6 - 0x4]
0000299A 486E FFF8 pea.l [A6 - 0x8]
0000299E A874 syscall GetPort
000029A0 42A7 clr.l -[A7]
000029A2 2F2E FFFC move.l -[A7], [A6 - 0x4]
000029A6 42A7 clr.l -[A7]
000029A8 42A7 clr.l -[A7]
000029AA 2F3C 0400 0C00 move.l -[A7], 0x4000C00
000029B0 A8FD syscall PrGlue
000029B2 205F movea.l A0, [A7]+
000029B4 2D48 FFF4 move.l [A6 - 0xC], A0
000029B8 206D FB12 movea.l A0, [A5 - 0x4EE]
000029BC 2850 movea.l A4, [A0]
000029BE 3F2C 004A move.w -[A7], [A4 + 0x4A]
000029C2 A887 syscall TextFont
000029C4 3F2C 0050 move.w -[A7], [A4 + 0x50]
000029C8 A88A syscall TextSize
000029CA 102C 004C move.b D0, [A4 + 0x4C]
000029CE 4880 ext.w D0
000029D0 3F00 move.w -[A7], D0
000029D2 A888 syscall TextFace
000029D4 3D6C 001A FFF2 move.w [A6 - 0xE], [A4 + 0x1A]
000029DA 206E FFFC movea.l A0, [A6 - 0x4]
000029DE 2050 movea.l A0, [A0]
000029E0 43EE FFE6 lea.l A1, [A6 - 0x1A]
000029E4 5088 addq.l A0, 8
000029E6 22D8 move.l [A1]+, [A0]+
000029E8 22D8 move.l [A1]+, [A0]+
000029EA 302E FFEA move.w D0, [A6 - 0x16]
000029EE 906E FFE6 sub.w D0, [A6 - 0x1A]
000029F2 48C0 ext.l D0
000029F4 81ED FB04 divs.w D0, [A5 - 0x4FC]
000029F8 3D40 FFF0 move.w [A6 - 0x10], D0
000029FC 302E FFE8 move.w D0, [A6 - 0x18]
00002A00 0640 0024 addi.w D0, 0x24 /* '$' */
00002A04 3D40 FFE4 move.w [A6 - 0x1C], D0
00002A08 2F2D FB26 move.l -[A7], [A5 - 0x4DA]
00002A0C 4EBA 0B18 jsr [PC + 0xB18 /* 00003526 */]
00002A10 588F addq.l A7, 4
00002A12 206D FB26 movea.l A0, [A5 - 0x4DA]
00002A16 0890 0006 bclr.b [A0], 0x6
label00002A1A:
00002A1A 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00002A1E 42A7 clr.l -[A7]
00002A20 2F3C 1000 0808 move.l -[A7], 0x10000808
00002A26 A8FD syscall PrGlue
00002A28 302E FFE6 move.w D0, [A6 - 0x1A]
00002A2C D06E FFF2 add.w D0, [A6 - 0xE]
00002A30 3D40 FFE2 move.w [A6 - 0x1E], D0
00002A34 426E FFEE clr.w [A6 - 0x12]
00002A38 602C bra +0x2E /* 00002A66 */
label00002A3A:
00002A3A 3F2E FFE4 move.w -[A7], [A6 - 0x1C]
00002A3E 3F2E FFE2 move.w -[A7], [A6 - 0x1E]
00002A42 A893 syscall MoveTo
00002A44 486E FDE2 pea.l [A6 - 0x21E]
00002A48 4EBA 2AFA jsr [PC + 0x2AFA /* 00005544 */]
00002A4C 588F addq.l A7, 4
00002A4E 486E FDE2 pea.l [A6 - 0x21E]
00002A52 4267 clr.w -[A7]
00002A54 5380 subq.l D0, 1
00002A56 3F00 move.w -[A7], D0
00002A58 A885 syscall DrawText
00002A5A 302D FB04 move.w D0, [A5 - 0x4FC]
00002A5E D16E FFE2 add.w [A6 - 0x1E], D0
00002A62 526E FFEE addq.w [A6 - 0x12], 1
label00002A66:
00002A66 302E FFEE move.w D0, [A6 - 0x12]
00002A6A B06E FFF0 cmp.w D0, [A6 - 0x10]
00002A6E 6C18 bge +0x1A /* 00002A88 */
00002A70 2F2D FB26 move.l -[A7], [A5 - 0x4DA]
00002A74 3F3C 0200 move.w -[A7], 0x200
00002A78 486E FDE2 pea.l [A6 - 0x21E]
00002A7C 4EBA 0C9A jsr [PC + 0xC9A /* 00003718 */]
00002A80 4FEF 000A lea.l A7, [A7 + 0xA]
00002A84 4A80 tst.l D0
00002A86 66B2 bne -0x4C /* 00002A3A */
label00002A88:
00002A88 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00002A8C 2F3C 1800 040C move.l -[A7], 0x1800040C
00002A92 A8FD syscall PrGlue
00002A94 4267 clr.w -[A7]
00002A96 2F3C BA00 0000 move.l -[A7], 0xBA000000
00002A9C A8FD syscall PrGlue
00002A9E 301F move.w D0, [A7]+
00002AA0 4A40 tst.w D0
00002AA2 6614 bne +0x16 /* 00002AB8 */
00002AA4 206D FB26 movea.l A0, [A5 - 0x4DA]
00002AA8 7000 moveq.l D0, 0x00
00002AAA 0810 0005 btst.b [A0], 0x5
00002AAE 56C0 sne D0
00002AB0 4400 neg.b D0
00002AB2 4A40 tst.w D0
00002AB4 6700 FF64 beq -0x9A /* 00002A1A */
label00002AB8:
00002AB8 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00002ABC 2F3C 0800 0484 move.l -[A7], 0x8000484
00002AC2 A8FD syscall PrGlue
00002AC4 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00002AC8 A873 syscall SetPort
00002ACA 206E FFFC movea.l A0, [A6 - 0x4]
00002ACE 2050 movea.l A0, [A0]
00002AD0 0C28 0001 0044 cmpi.b [A0 + 0x44], 0x1
00002AD6 6626 bne +0x28 /* 00002AFE */
00002AD8 4267 clr.w -[A7]
00002ADA 2F3C BA00 0000 move.l -[A7], 0xBA000000
00002AE0 A8FD syscall PrGlue
00002AE2 301F move.w D0, [A7]+
00002AE4 4A40 tst.w D0
00002AE6 6616 bne +0x18 /* 00002AFE */
00002AE8 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002AEC 42A7 clr.l -[A7]
00002AEE 42A7 clr.l -[A7]
00002AF0 42A7 clr.l -[A7]
00002AF2 486E FDC8 pea.l [A6 - 0x238]
00002AF6 2F3C 6005 1480 move.l -[A7], 0x60051480
00002AFC A8FD syscall PrGlue
label00002AFE:
00002AFE 285F movea.l A4, [A7]+
00002B00 4E5E unlink A6
00002B02 4E75 rts
fn00002B04:
00002B04 4E56 0000 link A6, 0
00002B08 202E 0008 move.l D0, [A6 + 0x8]
00002B0C A122 syscall NewHandle, flags=1
00002B0E 2008 move.l D0, A0
00002B10 4E5E unlink A6
00002B12 205F movea.l A0, [A7]+
00002B14 4FEF 0004 lea.l A7, [A7 + 0x4]
00002B18 2E80 move.l [A7], D0
00002B1A 4ED0 jmp [A0]
fn00002B1C:
00002B1C 4E56 0000 link A6, 0
00002B20 206E 0008 movea.l A0, [A6 + 0x8]
00002B24 A023 syscall DisposHandle/DisposeHandle
00002B26 4E5E unlink A6
00002B28 205F movea.l A0, [A7]+
00002B2A 4FEF 0004 lea.l A7, [A7 + 0x4]
00002B2E 4ED0 jmp [A0]
00002B30 4E56 0000 link A6, 0
00002B34 7000 moveq.l D0, 0x00
00002B36 102E 0009 move.b D0, [A6 + 0x9]
00002B3A 41ED FBFA lea.l A0, [A5 - 0x406]
00002B3E D0C0 add.w A0, D0
00002B40 1010 move.b D0, [A0]
00002B42 4880 ext.w D0
00002B44 0240 00D0 andi.w D0, 0xD0
00002B48 4E5E unlink A6
00002B4A 4E75 rts
00002B4C 4E56 0000 link A6, 0
00002B50 7000 moveq.l D0, 0x00
00002B52 102E 0009 move.b D0, [A6 + 0x9]
00002B56 41ED FBFA lea.l A0, [A5 - 0x406]
00002B5A D0C0 add.w A0, D0
00002B5C 1010 move.b D0, [A0]
00002B5E 4880 ext.w D0
00002B60 0240 00C0 andi.w D0, 0xC0
00002B64 4E5E unlink A6
00002B66 4E75 rts
00002B68 4E56 0000 link A6, 0
00002B6C 7000 moveq.l D0, 0x00
00002B6E 102E 0009 move.b D0, [A6 + 0x9]
00002B72 41ED FBFA lea.l A0, [A5 - 0x406]
00002B76 D0C0 add.w A0, D0
00002B78 1010 move.b D0, [A0]
00002B7A 4880 ext.w D0
00002B7C 0240 0003 andi.w D0, 0x3
00002B80 4E5E unlink A6
00002B82 4E75 rts
00002B84 4E56 0000 link A6, 0
00002B88 7000 moveq.l D0, 0x00
00002B8A 102E 0009 move.b D0, [A6 + 0x9]
00002B8E 41ED FBFA lea.l A0, [A5 - 0x406]
00002B92 D0C0 add.w A0, D0
00002B94 1010 move.b D0, [A0]
00002B96 4880 ext.w D0
00002B98 0240 0010 andi.w D0, 0x10
00002B9C 4E5E unlink A6
00002B9E 4E75 rts
00002BA0 4E56 0000 link A6, 0
00002BA4 7000 moveq.l D0, 0x00
00002BA6 102E 0009 move.b D0, [A6 + 0x9]
00002BAA 41ED FBFA lea.l A0, [A5 - 0x406]
00002BAE D0C0 add.w A0, D0
00002BB0 1010 move.b D0, [A0]
00002BB2 4880 ext.w D0
00002BB4 0240 00D8 andi.w D0, 0xD8
00002BB8 4E5E unlink A6
00002BBA 4E75 rts
00002BBC 4E56 0000 link A6, 0
00002BC0 7000 moveq.l D0, 0x00
00002BC2 102E 0009 move.b D0, [A6 + 0x9]
00002BC6 41ED FBFA lea.l A0, [A5 - 0x406]
00002BCA D0C0 add.w A0, D0
00002BCC 1010 move.b D0, [A0]
00002BCE 4880 ext.w D0
00002BD0 0240 0080 andi.w D0, 0x80
00002BD4 4E5E unlink A6
00002BD6 4E75 rts
00002BD8 4E56 0000 link A6, 0
00002BDC 7000 moveq.l D0, 0x00
00002BDE 102E 0009 move.b D0, [A6 + 0x9]
00002BE2 41ED FBFA lea.l A0, [A5 - 0x406]
00002BE6 D0C0 add.w A0, D0
00002BE8 1010 move.b D0, [A0]
00002BEA 4880 ext.w D0
00002BEC 0240 00DC andi.w D0, 0xDC
00002BF0 4E5E unlink A6
00002BF2 4E75 rts
00002BF4 4E56 0000 link A6, 0
00002BF8 7000 moveq.l D0, 0x00
00002BFA 102E 0009 move.b D0, [A6 + 0x9]
00002BFE 41ED FBFA lea.l A0, [A5 - 0x406]
00002C02 D0C0 add.w A0, D0
00002C04 1010 move.b D0, [A0]
00002C06 4880 ext.w D0
00002C08 0240 0008 andi.w D0, 0x8
00002C0C 4E5E unlink A6
00002C0E 4E75 rts
00002C10 4E56 0000 link A6, 0
00002C14 7000 moveq.l D0, 0x00
00002C16 102E 0009 move.b D0, [A6 + 0x9]
00002C1A 41ED FBFA lea.l A0, [A5 - 0x406]
00002C1E D0C0 add.w A0, D0
00002C20 1010 move.b D0, [A0]
00002C22 4880 ext.w D0
00002C24 0240 0006 andi.w D0, 0x6
00002C28 4E5E unlink A6
00002C2A 4E75 rts
00002C2C 4E56 0000 link A6, 0
00002C30 7000 moveq.l D0, 0x00
00002C32 102E 0009 move.b D0, [A6 + 0x9]
00002C36 41ED FBFA lea.l A0, [A5 - 0x406]
00002C3A D0C0 add.w A0, D0
00002C3C 1010 move.b D0, [A0]
00002C3E 4880 ext.w D0
00002C40 0240 0040 andi.w D0, 0x40 /* '@' */
00002C44 4E5E unlink A6
00002C46 4E75 rts
00002C48 4E56 0000 link A6, 0
00002C4C 7000 moveq.l D0, 0x00
00002C4E 102E 0009 move.b D0, [A6 + 0x9]
00002C52 41ED FBFA lea.l A0, [A5 - 0x406]
00002C56 D0C0 add.w A0, D0
00002C58 1010 move.b D0, [A0]
00002C5A 4880 ext.w D0
00002C5C 0240 0030 andi.w D0, 0x30 /* '0' */
00002C60 4E5E unlink A6
00002C62 4E75 rts
00002C64 4E56 0000 link A6, 0
00002C68 7000 moveq.l D0, 0x00
00002C6A 102E 0009 move.b D0, [A6 + 0x9]
00002C6E 41ED FBFA lea.l A0, [A5 - 0x406]
00002C72 D0C0 add.w A0, D0
00002C74 1010 move.b D0, [A0]
00002C76 4880 ext.w D0
00002C78 0800 0007 btst.b D0, 0x7
00002C7C 6710 beq +0x12 /* 00002C8E */
00002C7E 302E 0008 move.w D0, [A6 + 0x8]
00002C82 0A40 0020 xori.w D0, 0x20 /* ' ' */
00002C86 4840 swap.w D0
00002C88 4240 clr.w D0
00002C8A 4840 swap.w D0
00002C8C 6004 bra +0x6 /* 00002C92 */
label00002C8E:
00002C8E 302E 0008 move.w D0, [A6 + 0x8]
label00002C92:
00002C92 4E5E unlink A6
00002C94 4E75 rts
00002C96 4E56 0000 link A6, 0
00002C9A 7000 moveq.l D0, 0x00
00002C9C 102E 0009 move.b D0, [A6 + 0x9]
00002CA0 41ED FBFA lea.l A0, [A5 - 0x406]
00002CA4 D0C0 add.w A0, D0
00002CA6 1010 move.b D0, [A0]
00002CA8 4880 ext.w D0
00002CAA 0800 0006 btst.b D0, 0x6
00002CAE 6710 beq +0x12 /* 00002CC0 */
00002CB0 302E 0008 move.w D0, [A6 + 0x8]
00002CB4 0A40 0020 xori.w D0, 0x20 /* ' ' */
00002CB8 4840 swap.w D0
00002CBA 4240 clr.w D0
00002CBC 4840 swap.w D0
00002CBE 6004 bra +0x6 /* 00002CC4 */
label00002CC0:
00002CC0 302E 0008 move.w D0, [A6 + 0x8]
label00002CC4:
00002CC4 4E5E unlink A6
00002CC6 4E75 rts
fn00002CC8:
00002CC8 4E56 FECE link A6, -0x0132
00002CCC 486E FECE pea.l [A6 - 0x132]
00002CD0 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002CD4 4EBA 25A2 jsr [PC + 0x25A2 /* 00005278 */]
00002CD8 508F addq.l A7, 8
00002CDA 2D40 FFE0 move.l [A6 - 0x20], D0
00002CDE 426E FFE4 clr.w [A6 - 0x1C]
00002CE2 422E FFE8 clr.b [A6 - 0x18]
00002CE6 41EE FFCE lea.l A0, [A6 - 0x32]
00002CEA A009 syscall Delete/PBHDelete/HDelete
00002CEC 4A6E FFDE tst.w [A6 - 0x22]
00002CF0 670A beq +0xC /* 00002CFC */
00002CF2 3B6E FFDE FCFA move.w [A5 - 0x306], [A6 - 0x22]
00002CF8 70FF moveq.l D0, 0xFFFFFFFF
00002CFA 6002 bra +0x4 /* 00002CFE */
label00002CFC:
00002CFC 7000 moveq.l D0, 0x00
label00002CFE:
00002CFE 4E5E unlink A6
00002D00 4E75 rts
00002D02 4E56 FDCE link A6, -0x0232
00002D06 486E FECE pea.l [A6 - 0x132]
00002D0A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D0E 4EBA 2568 jsr [PC + 0x2568 /* 00005278 */]
00002D12 508F addq.l A7, 8
00002D14 2D40 FFE0 move.l [A6 - 0x20], D0
00002D18 426E FFE4 clr.w [A6 - 0x1C]
00002D1C 422E FFE8 clr.b [A6 - 0x18]
00002D20 486E FDCE pea.l [A6 - 0x232]
00002D24 2F2E 000C move.l -[A7], [A6 + 0xC]
00002D28 4EBA 254E jsr [PC + 0x254E /* 00005278 */]
00002D2C 508F addq.l A7, 8
00002D2E 2D40 FFEA move.l [A6 - 0x16], D0
00002D32 41EE FFCE lea.l A0, [A6 - 0x32]
00002D36 A00B syscall Rename/PBHRename/HRename
00002D38 4A6E FFDE tst.w [A6 - 0x22]
00002D3C 670A beq +0xC /* 00002D48 */
00002D3E 3B6E FFDE FCFA move.w [A5 - 0x306], [A6 - 0x22]
00002D44 70FF moveq.l D0, 0xFFFFFFFF
00002D46 6002 bra +0x4 /* 00002D4A */
label00002D48:
00002D48 7000 moveq.l D0, 0x00
label00002D4A:
00002D4A 4E5E unlink A6
00002D4C 4E75 rts
fn00002D4E:
00002D4E 4E56 FFEC link A6, -0x0014
00002D52 2F0C move.l -[A7], A4
00002D54 486D FCFC pea.l [A5 - 0x304]
00002D58 486D FD14 pea.l [A5 - 0x2EC]
00002D5C 486E FFEC pea.l [A6 - 0x14]
00002D60 4EBA 0058 jsr [PC + 0x58 /* 00002DBA */]
00002D64 4FEF 000C lea.l A7, [A7 + 0xC]
00002D68 4A80 tst.l D0
00002D6A 671C beq +0x1E /* 00002D88 */
00002D6C 486D FD1C pea.l [A5 - 0x2E4]
00002D70 486E FFEC pea.l [A6 - 0x14]
00002D74 4EBA 00D0 jsr [PC + 0xD0 /* 00002E46 */]
00002D78 508F addq.l A7, 8
00002D7A 2840 movea.l A4, D0
00002D7C 4A80 tst.l D0
00002D7E 6708 beq +0xA /* 00002D88 */
00002D80 08D4 0000 bset.b [A4], 0x0
00002D84 200C move.l D0, A4
00002D86 6002 bra +0x4 /* 00002D8A */
label00002D88:
00002D88 7000 moveq.l D0, 0x00
label00002D8A:
00002D8A 285F movea.l A4, [A7]+
00002D8C 4E5E unlink A6
00002D8E 4E75 rts
00002D90 4E56 0000 link A6, 0
00002D94 4AAE 0008 tst.l [A6 + 0x8]
00002D98 6608 bne +0xA /* 00002DA2 */
00002D9A 41ED FCFE lea.l A0, [A5 - 0x302]
00002D9E 2D48 0008 move.l [A6 + 0x8], A0
label00002DA2:
00002DA2 486D FD12 pea.l [A5 - 0x2EE]
00002DA6 486D FD20 pea.l [A5 - 0x2E0]
00002DAA 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002DAE 4EBA 000A jsr [PC + 0xA /* 00002DBA */]
00002DB2 4FEF 000C lea.l A7, [A7 + 0xC]
00002DB6 4E5E unlink A6
00002DB8 4E75 rts
fn00002DBA:
00002DBA 4E56 FFAE link A6, -0x0052
00002DBE 2F0C move.l -[A7], A4
00002DC0 286E 0010 movea.l A4, [A6 + 0x10]
00002DC4 3D54 FFFE move.w [A6 - 0x2], [A4]
00002DC8 2F2E 000C move.l -[A7], [A6 + 0xC]
00002DCC 4EBA 2776 jsr [PC + 0x2776 /* 00005544 */]
00002DD0 588F addq.l A7, 4
00002DD2 5880 addq.l D0, 4
00002DD4 206E 0008 movea.l A0, [A6 + 0x8]
00002DD8 1080 move.b [A0], D0
00002DDA 2D6E 0008 FFC0 move.l [A6 - 0x40], [A6 + 0x8]
00002DE0 426E FFC4 clr.w [A6 - 0x3C]
00002DE4 422E FFC8 clr.b [A6 - 0x38]
00002DE8 426E FFCA clr.w [A6 - 0x36]
label00002DEC:
00002DEC 5254 addq.w [A4], 1
00002DEE 0C54 270F cmpi.w [A4], 0x270F
00002DF2 6F04 ble +0x6 /* 00002DF8 */
00002DF4 7001 moveq.l D0, 0x01
00002DF6 3880 move.w [A4], D0
label00002DF8:
00002DF8 3F14 move.w -[A7], [A4]
00002DFA 2F2E 000C move.l -[A7], [A6 + 0xC]
00002DFE 486D FD26 pea.l [A5 - 0x2DA]
00002E02 206E 0008 movea.l A0, [A6 + 0x8]
00002E06 4868 0001 pea.l [A0 + 0x1]
00002E0A 4EBA 2528 jsr [PC + 0x2528 /* 00005334 */]
00002E0E 4FEF 000E lea.l A7, [A7 + 0xE]
00002E12 41EE FFAE lea.l A0, [A6 - 0x52]
00002E16 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00002E18 0C6E FFD5 FFBE cmpi.w [A6 - 0x42], 0xFFD5
00002E1E 670C beq +0xE /* 00002E2C */
00002E20 3014 move.w D0, [A4]
00002E22 B06E FFFE cmp.w D0, [A6 - 0x2]
00002E26 66C4 bne -0x3A /* 00002DEC */
00002E28 7000 moveq.l D0, 0x00
00002E2A 6014 bra +0x16 /* 00002E40 */
label00002E2C:
00002E2C 206E 0008 movea.l A0, [A6 + 0x8]
00002E30 2248 movea.l A1, A0
00002E32 7000 moveq.l D0, 0x00
00002E34 1018 move.b D0, [A0]+
label00002E36:
00002E36 12D8 move.b [A1]+, [A0]+
00002E38 51C8 FFFC dbf D0, -0x6 /* 00002E36 */
00002E3C 202E 0008 move.l D0, [A6 + 0x8]
label00002E40:
00002E40 285F movea.l A4, [A7]+
00002E42 4E5E unlink A6
00002E44 4E75 rts
export_89:
fn00002E46:
00002E46 4E56 0000 link A6, 0
00002E4A 4EBA 0A04 jsr [PC + 0xA04 /* 00003850 */]
00002E4E 2F00 move.l -[A7], D0
00002E50 2F2E 000C move.l -[A7], [A6 + 0xC]
00002E54 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002E58 4EBA 000A jsr [PC + 0xA /* 00002E64 */]
00002E5C 4FEF 000C lea.l A7, [A7 + 0xC]
00002E60 4E5E unlink A6
00002E62 4E75 rts
fn00002E64:
00002E64 4E56 FFFC link A6, -0x0004
00002E68 48E7 0018 movem.l -[A7], A3,A4
00002E6C 286E 000C movea.l A4, [A6 + 0xC]
00002E70 266E 0010 movea.l A3, [A6 + 0x10]
00002E74 0C14 0072 cmpi.b [A4], 0x72 /* 'r' */
00002E78 660C bne +0xE /* 00002E86 */
00002E7A 7001 moveq.l D0, 0x01
00002E7C 3D40 FFFE move.w [A6 - 0x2], D0
00002E80 426E FFFC clr.w [A6 - 0x4]
00002E84 6034 bra +0x36 /* 00002EBA */
label00002E86:
00002E86 0C14 0077 cmpi.b [A4], 0x77 /* 'w' */
00002E8A 660E bne +0x10 /* 00002E9A */
00002E8C 7002 moveq.l D0, 0x02
00002E8E 3D40 FFFE move.w [A6 - 0x2], D0
00002E92 7003 moveq.l D0, 0x03
00002E94 3D40 FFFC move.w [A6 - 0x4], D0
00002E98 6020 bra +0x22 /* 00002EBA */
label00002E9A:
00002E9A 0C14 0061 cmpi.b [A4], 0x61 /* 'a' */
00002E9E 660E bne +0x10 /* 00002EAE */
00002EA0 7002 moveq.l D0, 0x02
00002EA2 3D40 FFFE move.w [A6 - 0x2], D0
00002EA6 7009 moveq.l D0, 0x09
00002EA8 3D40 FFFC move.w [A6 - 0x4], D0
00002EAC 600C bra +0xE /* 00002EBA */
label00002EAE:
00002EAE 7016 moveq.l D0, 0x16
00002EB0 3B40 FCFA move.w [A5 - 0x306], D0
00002EB4 7000 moveq.l D0, 0x00
00002EB6 6000 0052 bra +0x54 /* 00002F0A */
label00002EBA:
00002EBA 0C2C 0062 0001 cmpi.b [A4 + 0x1], 0x62 /* 'b' */
00002EC0 6616 bne +0x18 /* 00002ED8 */
00002EC2 08EE 0004 FFFD bset.b [A6 - 0x3], 0x4
00002EC8 0C2C 002B 0002 cmpi.b [A4 + 0x2], 0x2B /* '+' */
00002ECE 6624 bne +0x26 /* 00002EF4 */
00002ED0 7003 moveq.l D0, 0x03
00002ED2 3D40 FFFE move.w [A6 - 0x2], D0
00002ED6 601C bra +0x1E /* 00002EF4 */
label00002ED8:
00002ED8 0C2C 002B 0001 cmpi.b [A4 + 0x1], 0x2B /* '+' */
00002EDE 6614 bne +0x16 /* 00002EF4 */
00002EE0 7003 moveq.l D0, 0x03
00002EE2 3D40 FFFE move.w [A6 - 0x2], D0
00002EE6 0C2C 0062 0002 cmpi.b [A4 + 0x2], 0x62 /* 'b' */
00002EEC 6606 bne +0x8 /* 00002EF4 */
00002EEE 08EE 0004 FFFD bset.b [A6 - 0x3], 0x4
label00002EF4:
00002EF4 2F0B move.l -[A7], A3
00002EF6 3F2E FFFC move.w -[A7], [A6 - 0x4]
00002EFA 3F2E FFFE move.w -[A7], [A6 - 0x2]
00002EFE 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002F02 4EBA 000E jsr [PC + 0xE /* 00002F12 */]
00002F06 4FEF 000C lea.l A7, [A7 + 0xC]
label00002F0A:
00002F0A 4CDF 1800 movem.l A3,A4, [A7]+
00002F0E 4E5E unlink A6
00002F10 4E75 rts
fn00002F12:
00002F12 4E56 FECE link A6, -0x0132
00002F16 2F0C move.l -[A7], A4
00002F18 286E 0010 movea.l A4, [A6 + 0x10]
00002F1C B8FC 0000 cmpa.w A4, 0x0
00002F20 6606 bne +0x8 /* 00002F28 */
00002F22 7000 moveq.l D0, 0x00
00002F24 6000 011A bra +0x11C /* 00003040 */
label00002F28:
00002F28 2F0C move.l -[A7], A4
00002F2A 4EBA 0B26 jsr [PC + 0xB26 /* 00003A52 */]
00002F2E 588F addq.l A7, 4
00002F30 486E FECE pea.l [A6 - 0x132]
00002F34 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002F38 4EBA 233E jsr [PC + 0x233E /* 00005278 */]
00002F3C 508F addq.l A7, 8
00002F3E 2D40 FFE0 move.l [A6 - 0x20], D0
00002F42 426E FFE4 clr.w [A6 - 0x1C]
00002F46 422E FFE8 clr.b [A6 - 0x18]
00002F4A 1D6E 000D FFE9 move.b [A6 - 0x17], [A6 + 0xD]
00002F50 42AE FFEA clr.l [A6 - 0x16]
00002F54 082E 0000 000F btst.b [A6 + 0xF], 0x0
00002F5A 6738 beq +0x3A /* 00002F94 */
00002F5C 41EE FFCE lea.l A0, [A6 - 0x32]
00002F60 A008 syscall Create/PBHCreate/HCreate
00002F62 4A6E FFDE tst.w [A6 - 0x22]
00002F66 6608 bne +0xA /* 00002F70 */
00002F68 08AE 0001 000F bclr.b [A6 + 0xF], 0x1
00002F6E 6024 bra +0x26 /* 00002F94 */
label00002F70:
00002F70 0C6E FFD0 FFDE cmpi.w [A6 - 0x22], 0xFFD0
00002F76 6610 bne +0x12 /* 00002F88 */
00002F78 082E 0002 000F btst.b [A6 + 0xF], 0x2
00002F7E 6608 bne +0xA /* 00002F88 */
00002F80 08AE 0000 000F bclr.b [A6 + 0xF], 0x0
00002F86 600C bra +0xE /* 00002F94 */
label00002F88:
00002F88 3B6E FFDE FCFA move.w [A5 - 0x306], [A6 - 0x22]
00002F8E 7000 moveq.l D0, 0x00
00002F90 6000 00AE bra +0xB0 /* 00003040 */
label00002F94:
00002F94 41EE FFCE lea.l A0, [A6 - 0x32]
00002F98 A000 syscall Open/PBHOpen/HOpen
00002F9A 4A6E FFDE tst.w [A6 - 0x22]
00002F9E 671A beq +0x1C /* 00002FBA */
00002FA0 3B6E FFDE FCFA move.w [A5 - 0x306], [A6 - 0x22]
00002FA6 082E 0000 000F btst.b [A6 + 0xF], 0x0
00002FAC 6706 beq +0x8 /* 00002FB4 */
00002FAE 41EE FFCE lea.l A0, [A6 - 0x32]
00002FB2 A009 syscall Delete/PBHDelete/HDelete
label00002FB4:
00002FB4 7000 moveq.l D0, 0x00
00002FB6 6000 0088 bra +0x8A /* 00003040 */
label00002FBA:
00002FBA 396E FFE6 0004 move.w [A4 + 0x4], [A6 - 0x1A]
00002FC0 082E 0001 000F btst.b [A6 + 0xF], 0x1
00002FC6 6708 beq +0xA /* 00002FD0 */
00002FC8 41EE FFCE lea.l A0, [A6 - 0x32]
00002FCC A012 syscall SetEOF
00002FCE 600E bra +0x10 /* 00002FDE */
label00002FD0:
00002FD0 082E 0000 000F btst.b [A6 + 0xF], 0x0
00002FD6 6606 bne +0x8 /* 00002FDE */
00002FD8 41EE FFCE lea.l A0, [A6 - 0x32]
00002FDC A011 syscall GetEOF
label00002FDE:
00002FDE 296E FFEA 001A move.l [A4 + 0x1A], [A6 - 0x16]
00002FE4 082E 0003 000F btst.b [A6 + 0xF], 0x3
00002FEA 670A beq +0xC /* 00002FF6 */
00002FEC 08D4 0001 bset.b [A4], 0x1
00002FF0 296C 001A 0016 move.l [A4 + 0x16], [A4 + 0x1A]
label00002FF6:
00002FF6 082E 0004 000F btst.b [A6 + 0xF], 0x4
00002FFC 6704 beq +0x6 /* 00003002 */
00002FFE 08D4 0006 bset.b [A4], 0x6
label00003002:
00003002 4878 0200 push.l 0x200
00003006 4267 clr.w -[A7]
00003008 42A7 clr.l -[A7]
0000300A 2F0C move.l -[A7], A4
0000300C 4EBA 0944 jsr [PC + 0x944 /* 00003952 */]
00003010 4FEF 000E lea.l A7, [A7 + 0xE]
00003014 41ED 02DA lea.l A0, [A5 + 0x2DA /* export_87 */]
00003018 2948 0022 move.l [A4 + 0x22], A0
0000301C 7003 moveq.l D0, 0x03
0000301E C06E 000E and.w D0, [A6 + 0xE]
00003022 4A40 tst.w D0
00003024 670E beq +0x10 /* 00003034 */
00003026 3F2E 000E move.w -[A7], [A6 + 0xE]
0000302A 2F2E FFE0 move.l -[A7], [A6 - 0x20]
0000302E 4EBA 0016 jsr [PC + 0x16 /* 00003046 */]
00003032 5C8F addq.l A7, 6
label00003034:
00003034 486D 02E2 pea.l [A5 + 0x2E2 /* export_88 */]
00003038 4EBA D660 jsr [PC - 0x29A0 /* 0000069A */]
0000303C 588F addq.l A7, 4
0000303E 200C move.l D0, A4
label00003040:
00003040 285F movea.l A4, [A7]+
00003042 4E5E unlink A6
00003044 4E75 rts
fn00003046:
00003046 4E56 FFB0 link A6, -0x0050
0000304A 2D6E 0008 FFC2 move.l [A6 - 0x3E], [A6 + 0x8]
00003050 426E FFC6 clr.w [A6 - 0x3A]
00003054 422E FFCA clr.b [A6 - 0x36]
00003058 426E FFCC clr.w [A6 - 0x34]
0000305C 41EE FFB0 lea.l A0, [A6 - 0x50]
00003060 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00003062 6B24 bmi +0x26 /* 00003088 */
00003064 203C 3F3F 3F3F move.l D0, 0x3F3F3F3F /* '????' */
0000306A 2D40 FFD4 move.l [A6 - 0x2C], D0
0000306E 2D40 FFD0 move.l [A6 - 0x30], D0
00003072 082E 0004 000D btst.b [A6 + 0xD], 0x4
00003078 6608 bne +0xA /* 00003082 */
0000307A 2D7C 5445 5854 FFD0 move.l [A6 - 0x30], 0x54455854 /* 'TEXT' */
label00003082:
00003082 41EE FFB0 lea.l A0, [A6 - 0x50]
00003086 A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label00003088:
00003088 4E5E unlink A6
0000308A 4E75 rts
export_88:
0000308C 4E56 FFFE link A6, -0x0002
00003090 2F0C move.l -[A7], A4
00003092 41ED FD2E lea.l A0, [A5 - 0x2D2]
00003096 2848 movea.l A4, A0
00003098 700F moveq.l D0, 0x0F
0000309A 3D40 FFFE move.w [A6 - 0x2], D0
0000309E 600C bra +0xE /* 000030AC */
label000030A0:
000030A0 2F0C move.l -[A7], A4
000030A2 4EBA 09AE jsr [PC + 0x9AE /* 00003A52 */]
000030A6 588F addq.l A7, 4
000030A8 49EC 0026 lea.l A4, [A4 + 0x26]
label000030AC:
000030AC 302E FFFE move.w D0, [A6 - 0x2]
000030B0 536E FFFE subq.w [A6 - 0x2], 1
000030B4 4A40 tst.w D0
000030B6 66E8 bne -0x16 /* 000030A0 */
000030B8 285F movea.l A4, [A7]+
000030BA 4E5E unlink A6
000030BC 4E75 rts
export_87:
000030BE 4E56 FFCE link A6, -0x0032
000030C2 2F0C move.l -[A7], A4
000030C4 286E 0008 movea.l A4, [A6 + 0x8]
000030C8 3D6C 0004 FFE6 move.w [A6 - 0x1A], [A4 + 0x4]
000030CE 302E 000C move.w D0, [A6 + 0xC]
000030D2 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
000030D6 0000 0002 ori.b D0, 0x2
000030DA 0128 0006 btst [A0 + 0x6], D0
000030DE 0092 0116 2D6C ori.l [A2], 0x1162D6C
000030E4 000E FFEE ori.b A6, 0xEE
000030E8 2D6C 0012 FFF2 move.l [A6 - 0xE], [A4 + 0x12]
000030EE 4A6C 0004 tst.w [A4 + 0x4]
000030F2 6E04 bgt +0x6 /* 000030F8 */
000030F4 7000 moveq.l D0, 0x00
000030F6 6002 bra +0x4 /* 000030FA */
label000030F8:
000030F8 7001 moveq.l D0, 0x01
label000030FA:
000030FA 3D40 FFFA move.w [A6 - 0x6], D0
000030FE 202C 0016 move.l D0, [A4 + 0x16]
00003102 90AC 0012 sub.l D0, [A4 + 0x12]
00003106 2D40 FFFC move.l [A6 - 0x4], D0
0000310A 41EE FFCE lea.l A0, [A6 - 0x32]
0000310E A002 syscall Read
00003110 0C6E FFD9 FFDE cmpi.w [A6 - 0x22], 0xFFD9
00003116 661E bne +0x20 /* 00003136 */
00003118 296E FFFC 0016 move.l [A4 + 0x16], [A6 - 0x4]
0000311E 296E FFF6 0012 move.l [A4 + 0x12], [A6 - 0xA]
00003124 6706 beq +0x8 /* 0000312C */
00003126 426E FFDE clr.w [A6 - 0x22]
0000312A 600A bra +0xC /* 00003136 */
label0000312C:
0000312C 08D4 0005 bset.b [A4], 0x5
00003130 70FF moveq.l D0, 0xFFFFFFFF
00003132 6000 00E4 bra +0xE6 /* 00003218 */
label00003136:
00003136 4A6E FFDE tst.w [A6 - 0x22]
0000313A 6710 beq +0x12 /* 0000314C */
0000313C 202C 0012 move.l D0, [A4 + 0x12]
00003140 91AC 0016 sub.l [A4 + 0x16], D0
00003144 42AC 0012 clr.l [A4 + 0x12]
00003148 6000 00B8 bra +0xBA /* 00003202 */
label0000314C:
0000314C 0814 0006 btst.b [A4], 0x6
00003150 6600 00B0 bne +0xB2 /* 00003202 */
00003154 3F3C 000A move.w -[A7], 0xA /* '\n' */
00003158 3F3C 000D move.w -[A7], 0xD /* '\r' */
0000315C 2F2C 0012 move.l -[A7], [A4 + 0x12]
00003160 2F2C 000E move.l -[A7], [A4 + 0xE]
00003164 4EBA 0180 jsr [PC + 0x180 /* 000032E6 */]
00003168 4FEF 000C lea.l A7, [A7 + 0xC]
0000316C 6000 0094 bra +0x96 /* 00003202 */
00003170 2D6C 000E FFEE move.l [A6 - 0x12], [A4 + 0xE]
00003176 2D6C 0012 FFF2 move.l [A6 - 0xE], [A4 + 0x12]
0000317C 4A6C 0004 tst.w [A4 + 0x4]
00003180 6E04 bgt +0x6 /* 00003186 */
00003182 7000 moveq.l D0, 0x00
00003184 6002 bra +0x4 /* 00003188 */
label00003186:
00003186 7001 moveq.l D0, 0x01
label00003188:
00003188 3D40 FFFA move.w [A6 - 0x6], D0
0000318C 202C 0016 move.l D0, [A4 + 0x16]
00003190 90AC 0012 sub.l D0, [A4 + 0x12]
00003194 2D40 FFFC move.l [A6 - 0x4], D0
00003198 B0AC 001A cmp.l D0, [A4 + 0x1A]
0000319C 630E bls +0x10 /* 000031AC */
0000319E 2D6E FFFC FFEA move.l [A6 - 0x16], [A6 - 0x4]
000031A4 41EE FFCE lea.l A0, [A6 - 0x32]
000031A8 A012 syscall SetEOF
000031AA 6B24 bmi +0x26 /* 000031D0 */
label000031AC:
000031AC 0814 0006 btst.b [A4], 0x6
000031B0 6618 bne +0x1A /* 000031CA */
000031B2 3F3C 000D move.w -[A7], 0xD /* '\r' */
000031B6 3F3C 000A move.w -[A7], 0xA /* '\n' */
000031BA 2F2C 0012 move.l -[A7], [A4 + 0x12]
000031BE 2F2C 000E move.l -[A7], [A4 + 0xE]
000031C2 4EBA 0122 jsr [PC + 0x122 /* 000032E6 */]
000031C6 4FEF 000C lea.l A7, [A7 + 0xC]
label000031CA:
000031CA 41EE FFCE lea.l A0, [A6 - 0x32]
000031CE A003 syscall Write
label000031D0:
000031D0 4A6E FFDE tst.w [A6 - 0x22]
000031D4 670E beq +0x10 /* 000031E4 */
000031D6 202C 0012 move.l D0, [A4 + 0x12]
000031DA 91AC 0016 sub.l [A4 + 0x16], D0
000031DE 42AC 0012 clr.l [A4 + 0x12]
000031E2 601E bra +0x20 /* 00003202 */
label000031E4:
000031E4 202E FFFC move.l D0, [A6 - 0x4]
000031E8 B0AC 001A cmp.l D0, [A4 + 0x1A]
000031EC 6314 bls +0x16 /* 00003202 */
000031EE 296E FFFC 001A move.l [A4 + 0x1A], [A6 - 0x4]
000031F4 600C bra +0xE /* 00003202 */
000031F6 2F0C move.l -[A7], A4
000031F8 4EBA 0024 jsr [PC + 0x24 /* 0000321E */]
000031FC 588F addq.l A7, 4
000031FE 3D40 FFDE move.w [A6 - 0x22], D0
label00003202:
00003202 4A6E FFDE tst.w [A6 - 0x22]
00003206 670E beq +0x10 /* 00003216 */
00003208 08D4 0004 bset.b [A4], 0x4
0000320C 3B6E FFDE FCFA move.w [A5 - 0x306], [A6 - 0x22]
00003212 70FF moveq.l D0, 0xFFFFFFFF
00003214 6002 bra +0x4 /* 00003218 */
label00003216:
00003216 7000 moveq.l D0, 0x00
label00003218:
00003218 285F movea.l A4, [A7]+
0000321A 4E5E unlink A6
0000321C 4E75 rts
fn0000321E:
0000321E 4E56 FEAC link A6, -0x0154
00003222 48E7 0038 movem.l -[A7], A2,A3,A4
00003226 286E 0008 movea.l A4, [A6 + 0x8]
0000322A 306C 0004 movea.w A0, [A4 + 0x4]
0000322E D1F8 034E add.l A0, [0x0000034E /* FCBSPtr */]
00003232 2648 movea.l A3, A0
00003234 2D6B 0014 FEAC move.l [A6 - 0x154], [A3 + 0x14]
0000323A 41EE FEB0 lea.l A0, [A6 - 0x150]
0000323E 2D48 FFC2 move.l [A6 - 0x3E], A0
00003242 3D6C 0004 FFC8 move.w [A6 - 0x38], [A4 + 0x4]
00003248 206E FEAC movea.l A0, [A6 - 0x154]
0000324C 3D68 004E FFC6 move.w [A6 - 0x3A], [A0 + 0x4E]
00003252 422E FFCA clr.b [A6 - 0x36]
00003256 0814 0000 btst.b [A4], 0x0
0000325A 6732 beq +0x34 /* 0000328E */
0000325C 206E FEAC movea.l A0, [A6 - 0x154]
00003260 0C68 4244 0008 cmpi.w [A0 + 0x8], 0x4244 /* 'BD' */
00003266 6626 bne +0x28 /* 0000328E */
00003268 2D6B 003A FFE0 move.l [A6 - 0x20], [A3 + 0x3A]
0000326E 41EB 003E lea.l A0, [A3 + 0x3E]
00003272 2448 movea.l A2, A0
00003274 41EE FEB0 lea.l A0, [A6 - 0x150]
00003278 7000 moveq.l D0, 0x00
0000327A 1012 move.b D0, [A2]
label0000327C:
0000327C 10DA move.b [A0]+, [A2]+
0000327E 51C8 FFFC dbf D0, -0x6 /* 0000327C */
00003282 41EE FFB0 lea.l A0, [A6 - 0x50]
00003286 A001 syscall Close
00003288 6B50 bmi +0x52 /* 000032DA */
0000328A A209 syscall Delete/PBHDelete/HDelete, flags=2
0000328C 6042 bra +0x44 /* 000032D0 */
label0000328E:
0000328E 0814 0000 btst.b [A4], 0x0
00003292 6734 beq +0x36 /* 000032C8 */
00003294 206E FEAC movea.l A0, [A6 - 0x154]
00003298 0C68 D2D7 0008 cmpi.w [A0 + 0x8], 0xD2D7
0000329E 6628 bne +0x2A /* 000032C8 */
000032A0 7001 moveq.l D0, 0x01
000032A2 3D40 FFCC move.w [A6 - 0x34], D0
label000032A6:
000032A6 41EE FFB0 lea.l A0, [A6 - 0x50]
000032AA A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000032AC 6B1A bmi +0x1C /* 000032C8 */
000032AE 526E FFCC addq.w [A6 - 0x34], 1
000032B2 302E FFC8 move.w D0, [A6 - 0x38]
000032B6 B06C 0004 cmp.w D0, [A4 + 0x4]
000032BA 66EA bne -0x14 /* 000032A6 */
000032BC 41EE FFB0 lea.l A0, [A6 - 0x50]
000032C0 A001 syscall Close
000032C2 6B16 bmi +0x18 /* 000032DA */
000032C4 A009 syscall Delete/PBHDelete/HDelete
000032C6 6008 bra +0xA /* 000032D0 */
label000032C8:
000032C8 41EE FFB0 lea.l A0, [A6 - 0x50]
000032CC A001 syscall Close
000032CE 6B0A bmi +0xC /* 000032DA */
label000032D0:
000032D0 42AE FFC2 clr.l [A6 - 0x3E]
000032D4 41EE FFB0 lea.l A0, [A6 - 0x50]
000032D8 A013 syscall FlushVol
label000032DA:
000032DA 302E FFC0 move.w D0, [A6 - 0x40]
000032DE 4CDF 1C00 movem.l A2,A3,A4, [A7]+
000032E2 4E5E unlink A6
000032E4 4E75 rts
fn000032E6:
000032E6 4E56 0000 link A6, 0
000032EA 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000032EE 286E 0008 movea.l A4, [A6 + 0x8]
000032F2 2E2E 000C move.l D7, [A6 + 0xC]
000032F6 3C2E 0010 move.w D6, [A6 + 0x10]
000032FA 3A2E 0012 move.w D5, [A6 + 0x12]
000032FE 600E bra +0x10 /* 0000330E */
label00003300:
00003300 41D3 lea.l A0, [A3]
00003302 528B addq.l A3, 1
00003304 1085 move.b [A0], D5
00003306 200B move.l D0, A3
00003308 908C sub.l D0, A4
0000330A 9E80 sub.l D7, D0
0000330C 284B movea.l A4, A3
label0000330E:
0000330E 4A87 tst.l D7
00003310 6714 beq +0x16 /* 00003326 */
00003312 2F07 move.l -[A7], D7
00003314 3F06 move.w -[A7], D6
00003316 2F0C move.l -[A7], A4
00003318 4EBA 07FE jsr [PC + 0x7FE /* 00003B18 */]
0000331C 4FEF 000A lea.l A7, [A7 + 0xA]
00003320 2640 movea.l A3, D0
00003322 4A80 tst.l D0
00003324 66DA bne -0x24 /* 00003300 */
label00003326:
00003326 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
0000332A 4E5E unlink A6
0000332C 4E75 rts
export_76:
fn0000332E:
0000332E 4E56 FFFC link A6, -0x0004
00003332 48E7 0308 movem.l -[A7], D6,D7,A4
00003336 286E 0014 movea.l A4, [A6 + 0x14]
0000333A 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000333E 2F2E 000C move.l -[A7], [A6 + 0xC]
00003342 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00003346 2E00 move.l D7, D0
00003348 4A87 tst.l D7
0000334A 6606 bne +0x8 /* 00003352 */
0000334C 7000 moveq.l D0, 0x00
0000334E 6000 0130 bra +0x132 /* 00003480 */
label00003352:
00003352 2F0C move.l -[A7], A4
00003354 4EBA 1ED2 jsr [PC + 0x1ED2 /* 00005228 */]
00003358 588F addq.l A7, 4
label0000335A:
0000335A 082C 0007 0001 btst.b [A4 + 0x1], 0x7
00003360 673E beq +0x40 /* 000033A0 */
00003362 202C 0012 move.l D0, [A4 + 0x12]
00003366 53AC 0012 subq.l [A4 + 0x12], 1
0000336A 4A80 tst.l D0
0000336C 6710 beq +0x12 /* 0000337E */
0000336E 206C 000E movea.l A0, [A4 + 0xE]
00003372 52AC 000E addq.l [A4 + 0xE], 1
00003376 7000 moveq.l D0, 0x00
00003378 1010 move.b D0, [A0]
0000337A 48C0 ext.l D0
0000337C 6008 bra +0xA /* 00003386 */
label0000337E:
0000337E 2F0C move.l -[A7], A4
00003380 4EBA D400 jsr [PC - 0x2C00 /* 00000782 */]
00003384 588F addq.l A7, 4
label00003386:
00003386 3D40 FFFC move.w [A6 - 0x4], D0
0000338A 0C40 FFFF cmpi.w D0, 0xFFFF
0000338E 6700 00D2 beq +0xD4 /* 00003462 */
00003392 206E 0008 movea.l A0, [A6 + 0x8]
00003396 10AE FFFD move.b [A0], [A6 - 0x3]
0000339A 7C01 moveq.l D6, 0x01
0000339C 6000 00B8 bra +0xBA /* 00003456 */
label000033A0:
000033A0 4A6C 0004 tst.w [A4 + 0x4]
000033A4 6F00 0072 ble +0x74 /* 00003418 */
000033A8 4AAC 0012 tst.l [A4 + 0x12]
000033AC 6600 006A bne +0x6C /* 00003418 */
000033B0 BEAC 000A cmp.l D7, [A4 + 0xA]
000033B4 6500 0062 bcs +0x64 /* 00003418 */
000033B8 0CAC 0000 0001 000A cmpi.l [A4 + 0xA], 0x1
000033C0 6710 beq +0x12 /* 000033D2 */
000033C2 2F2C 000A move.l -[A7], [A4 + 0xA]
000033C6 2F2C 0016 move.l -[A7], [A4 + 0x16]
000033CA 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000033CE 4A80 tst.l D0
000033D0 6646 bne +0x48 /* 00003418 */
label000033D2:
000033D2 2C07 move.l D6, D7
000033D4 0CAC 0000 0001 000A cmpi.l [A4 + 0xA], 0x1
000033DC 630C bls +0xE /* 000033EA */
000033DE 2F2C 000A move.l -[A7], [A4 + 0xA]
000033E2 2F06 move.l -[A7], D6
000033E4 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000033E8 9C80 sub.l D6, D0
label000033EA:
000033EA 296E 0008 000E move.l [A4 + 0xE], [A6 + 0x8]
000033F0 2946 0012 move.l [A4 + 0x12], D6
000033F4 DDAC 0016 add.l [A4 + 0x16], D6
000033F8 2F0C move.l -[A7], A4
000033FA 4EBA 1FD6 jsr [PC + 0x1FD6 /* 000053D2 */]
000033FE 588F addq.l A7, 4
00003400 3D40 FFFE move.w [A6 - 0x2], D0
00003404 2C2C 0012 move.l D6, [A4 + 0x12]
00003408 2F0C move.l -[A7], A4
0000340A 4EBA D51C jsr [PC - 0x2AE4 /* 00000928 */]
0000340E 588F addq.l A7, 4
00003410 4A6E FFFE tst.w [A6 - 0x2]
00003414 664C bne +0x4E /* 00003462 */
00003416 603E bra +0x40 /* 00003456 */
label00003418:
00003418 4AAC 0012 tst.l [A4 + 0x12]
0000341C 6614 bne +0x16 /* 00003432 */
0000341E 2F0C move.l -[A7], A4
00003420 4EBA D472 jsr [PC - 0x2B8E /* 00000894 */]
00003424 588F addq.l A7, 4
00003426 2F0C move.l -[A7], A4
00003428 4EBA 1FA8 jsr [PC + 0x1FA8 /* 000053D2 */]
0000342C 588F addq.l A7, 4
0000342E 4A40 tst.w D0
00003430 6630 bne +0x32 /* 00003462 */
label00003432:
00003432 2C2C 0012 move.l D6, [A4 + 0x12]
00003436 BC87 cmp.l D6, D7
00003438 6302 bls +0x4 /* 0000343C */
0000343A 2C07 move.l D6, D7
label0000343C:
0000343C 2F06 move.l -[A7], D6
0000343E 2F2C 000E move.l -[A7], [A4 + 0xE]
00003442 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003446 4EBA 0670 jsr [PC + 0x670 /* 00003AB8 */]
0000344A 4FEF 000C lea.l A7, [A7 + 0xC]
0000344E DDAC 000E add.l [A4 + 0xE], D6
00003452 9DAC 0012 sub.l [A4 + 0x12], D6
label00003456:
00003456 DDAE 0008 add.l [A6 + 0x8], D6
0000345A 9E86 sub.l D7, D6
0000345C 4A87 tst.l D7
0000345E 6600 FEFA bne -0x104 /* 0000335A */
label00003462:
00003462 4A87 tst.l D7
00003464 6716 beq +0x18 /* 0000347C */
00003466 2007 move.l D0, D7
00003468 D0AE 000C add.l D0, [A6 + 0xC]
0000346C 2F2E 000C move.l -[A7], [A6 + 0xC]
00003470 5380 subq.l D0, 1
00003472 2F00 move.l -[A7], D0
00003474 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
00003478 91AE 0010 sub.l [A6 + 0x10], D0
label0000347C:
0000347C 202E 0010 move.l D0, [A6 + 0x10]
label00003480:
00003480 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00003484 4E5E unlink A6
00003486 4E75 rts
fn00003488:
00003488 4E56 FFFC link A6, -0x0004
0000348C 2F0C move.l -[A7], A4
0000348E 286E 0008 movea.l A4, [A6 + 0x8]
00003492 202C 0016 move.l D0, [A4 + 0x16]
00003496 90AC 0012 sub.l D0, [A4 + 0x12]
0000349A 2D40 FFFC move.l [A6 - 0x4], D0
0000349E 4A6C 0004 tst.w [A4 + 0x4]
000034A2 6E0C bgt +0xE /* 000034B0 */
000034A4 7013 moveq.l D0, 0x13
000034A6 3B40 FCFA move.w [A5 - 0x306], D0
000034AA 70FF moveq.l D0, 0xFFFFFFFF
000034AC 6000 0056 bra +0x58 /* 00003504 */
label000034B0:
000034B0 2F0C move.l -[A7], A4
000034B2 4EBA 053A jsr [PC + 0x53A /* 000039EE */]
000034B6 588F addq.l A7, 4
000034B8 0C6E 0001 0010 cmpi.w [A6 + 0x10], 0x1
000034BE 660A bne +0xC /* 000034CA */
000034C0 202E FFFC move.l D0, [A6 - 0x4]
000034C4 D1AE 000C add.l [A6 + 0xC], D0
000034C8 601E bra +0x20 /* 000034E8 */
label000034CA:
000034CA 0C6E 0002 0010 cmpi.w [A6 + 0x10], 0x2
000034D0 660A bne +0xC /* 000034DC */
000034D2 202C 001A move.l D0, [A4 + 0x1A]
000034D6 D1AE 000C add.l [A6 + 0xC], D0
000034DA 600C bra +0xE /* 000034E8 */
label000034DC:
000034DC 4A6E 0010 tst.w [A6 + 0x10]
000034E0 6706 beq +0x8 /* 000034E8 */
000034E2 70FF moveq.l D0, 0xFFFFFFFF
000034E4 2D40 000C move.l [A6 + 0xC], D0
label000034E8:
000034E8 4AAE 000C tst.l [A6 + 0xC]
000034EC 6C0A bge +0xC /* 000034F8 */
000034EE 7016 moveq.l D0, 0x16
000034F0 3B40 FCFA move.w [A5 - 0x306], D0
000034F4 70FF moveq.l D0, 0xFFFFFFFF
000034F6 600C bra +0xE /* 00003504 */
label000034F8:
000034F8 296E 000C 0016 move.l [A4 + 0x16], [A6 + 0xC]
000034FE 0894 0005 bclr.b [A4], 0x5
00003502 7000 moveq.l D0, 0x00
label00003504:
00003504 285F movea.l A4, [A7]+
00003506 4E5E unlink A6
00003508 4E75 rts
0000350A 4E56 0000 link A6, 0
0000350E 4267 clr.w -[A7]
00003510 206E 000C movea.l A0, [A6 + 0xC]
00003514 2F10 move.l -[A7], [A0]
00003516 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000351A 4EBA FF6C jsr [PC - 0x94 /* 00003488 */]
0000351E 4FEF 000A lea.l A7, [A7 + 0xA]
00003522 4E5E unlink A6
00003524 4E75 rts
fn00003526:
00003526 4E56 0000 link A6, 0
0000352A 4267 clr.w -[A7]
0000352C 42A7 clr.l -[A7]
0000352E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003532 4EBA FF54 jsr [PC - 0xAC /* 00003488 */]
00003536 4FEF 000A lea.l A7, [A7 + 0xA]
0000353A 206E 0008 movea.l A0, [A6 + 0x8]
0000353E 0890 0004 bclr.b [A0], 0x4
00003542 4E5E unlink A6
00003544 4E75 rts
fn00003546:
00003546 4E56 0000 link A6, 0
0000354A 2F0C move.l -[A7], A4
0000354C 286E 0008 movea.l A4, [A6 + 0x8]
00003550 4A6C 0004 tst.w [A4 + 0x4]
00003554 6E0A bgt +0xC /* 00003560 */
00003556 7013 moveq.l D0, 0x13
00003558 3B40 FCFA move.w [A5 - 0x306], D0
0000355C 70FF moveq.l D0, 0xFFFFFFFF
0000355E 6008 bra +0xA /* 00003568 */
label00003560:
00003560 202C 0016 move.l D0, [A4 + 0x16]
00003564 90AC 0012 sub.l D0, [A4 + 0x12]
label00003568:
00003568 285F movea.l A4, [A7]+
0000356A 4E5E unlink A6
0000356C 4E75 rts
0000356E 4E56 0000 link A6, 0
00003572 206E 0008 movea.l A0, [A6 + 0x8]
00003576 4A68 0004 tst.w [A0 + 0x4]
0000357A 6E0A bgt +0xC /* 00003586 */
0000357C 7013 moveq.l D0, 0x13
0000357E 3B40 FCFA move.w [A5 - 0x306], D0
00003582 70FF moveq.l D0, 0xFFFFFFFF
00003584 6018 bra +0x1A /* 0000359E */
label00003586:
00003586 206E 0008 movea.l A0, [A6 + 0x8]
0000358A 226E 0008 movea.l A1, [A6 + 0x8]
0000358E 2029 0016 move.l D0, [A1 + 0x16]
00003592 90A8 0012 sub.l D0, [A0 + 0x12]
00003596 206E 000C movea.l A0, [A6 + 0xC]
0000359A 2080 move.l [A0], D0
0000359C 7000 moveq.l D0, 0x00
label0000359E:
0000359E 4E5E unlink A6
000035A0 4E75 rts
export_77:
fn000035A2:
000035A2 4E56 FFFE link A6, -0x0002
000035A6 48E7 0308 movem.l -[A7], D6,D7,A4
000035AA 286E 0014 movea.l A4, [A6 + 0x14]
000035AE 2F2E 0010 move.l -[A7], [A6 + 0x10]
000035B2 2F2E 000C move.l -[A7], [A6 + 0xC]
000035B6 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
000035BA 2E00 move.l D7, D0
000035BC 4A87 tst.l D7
000035BE 6606 bne +0x8 /* 000035C6 */
000035C0 7000 moveq.l D0, 0x00
000035C2 6000 014C bra +0x14E /* 00003710 */
label000035C6:
000035C6 2F0C move.l -[A7], A4
000035C8 4EBA 1C5E jsr [PC + 0x1C5E /* 00005228 */]
000035CC 588F addq.l A7, 4
000035CE 0814 0001 btst.b [A4], 0x1
000035D2 670C beq +0xE /* 000035E0 */
000035D4 0814 0003 btst.b [A4], 0x3
000035D8 6606 bne +0x8 /* 000035E0 */
000035DA 296C 001A 0016 move.l [A4 + 0x16], [A4 + 0x1A]
label000035E0:
000035E0 4A6C 0004 tst.w [A4 + 0x4]
000035E4 6F00 007A ble +0x7C /* 00003660 */
000035E8 0814 0006 btst.b [A4], 0x6
000035EC 6700 0072 beq +0x74 /* 00003660 */
000035F0 4AAC 0012 tst.l [A4 + 0x12]
000035F4 6600 006A bne +0x6C /* 00003660 */
000035F8 BEAC 000A cmp.l D7, [A4 + 0xA]
000035FC 6500 0062 bcs +0x64 /* 00003660 */
00003600 0CAC 0000 0001 000A cmpi.l [A4 + 0xA], 0x1
00003608 6710 beq +0x12 /* 0000361A */
0000360A 2F2C 000A move.l -[A7], [A4 + 0xA]
0000360E 2F2C 0016 move.l -[A7], [A4 + 0x16]
00003612 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00003616 4A80 tst.l D0
00003618 6646 bne +0x48 /* 00003660 */
label0000361A:
0000361A 2C07 move.l D6, D7
0000361C 0CAC 0000 0001 000A cmpi.l [A4 + 0xA], 0x1
00003624 630C bls +0xE /* 00003632 */
00003626 2F2C 000A move.l -[A7], [A4 + 0xA]
0000362A 2F06 move.l -[A7], D6
0000362C 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00003630 9C80 sub.l D6, D0
label00003632:
00003632 296E 0008 000E move.l [A4 + 0xE], [A6 + 0x8]
00003638 2946 0012 move.l [A4 + 0x12], D6
0000363C DDAC 0016 add.l [A4 + 0x16], D6
00003640 2F0C move.l -[A7], A4
00003642 4EBA 1DA8 jsr [PC + 0x1DA8 /* 000053EC */]
00003646 588F addq.l A7, 4
00003648 3D40 FFFE move.w [A6 - 0x2], D0
0000364C 2F0C move.l -[A7], A4
0000364E 4EBA D2D8 jsr [PC - 0x2D28 /* 00000928 */]
00003652 588F addq.l A7, 4
00003654 4A6E FFFE tst.w [A6 - 0x2]
00003658 6600 0098 bne +0x9A /* 000036F2 */
0000365C 6000 0088 bra +0x8A /* 000036E6 */
label00003660:
00003660 0814 0003 btst.b [A4], 0x3
00003664 6706 beq +0x8 /* 0000366C */
00003666 4AAC 001E tst.l [A4 + 0x1E]
0000366A 6744 beq +0x46 /* 000036B0 */
label0000366C:
0000366C 202C 0012 move.l D0, [A4 + 0x12]
00003670 53AC 0012 subq.l [A4 + 0x12], 1
00003674 0C80 0000 0001 cmpi.l D0, 0x1
0000367A 6318 bls +0x1A /* 00003694 */
0000367C 206C 000E movea.l A0, [A4 + 0xE]
00003680 52AC 000E addq.l [A4 + 0xE], 1
00003684 226E 0008 movea.l A1, [A6 + 0x8]
00003688 1011 move.b D0, [A1]
0000368A 1080 move.b [A0], D0
0000368C 0240 00FF andi.w D0, 0xFF
00003690 48C0 ext.l D0
00003692 6012 bra +0x14 /* 000036A6 */
label00003694:
00003694 2F0C move.l -[A7], A4
00003696 206E 0008 movea.l A0, [A6 + 0x8]
0000369A 1010 move.b D0, [A0]
0000369C 4880 ext.w D0
0000369E 3F00 move.w -[A7], D0
000036A0 4EBA D146 jsr [PC - 0x2EBA /* 000007E8 */]
000036A4 5C8F addq.l A7, 6
label000036A6:
000036A6 0C40 FFFF cmpi.w D0, 0xFFFF
000036AA 6746 beq +0x48 /* 000036F2 */
000036AC 7C01 moveq.l D6, 0x01
000036AE 6036 bra +0x38 /* 000036E6 */
label000036B0:
000036B0 2C2C 0012 move.l D6, [A4 + 0x12]
000036B4 BC87 cmp.l D6, D7
000036B6 6302 bls +0x4 /* 000036BA */
000036B8 2C07 move.l D6, D7
label000036BA:
000036BA 2F06 move.l -[A7], D6
000036BC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000036C0 2F2C 000E move.l -[A7], [A4 + 0xE]
000036C4 4EBA 03F2 jsr [PC + 0x3F2 /* 00003AB8 */]
000036C8 4FEF 000C lea.l A7, [A7 + 0xC]
000036CC DDAC 000E add.l [A4 + 0xE], D6
000036D0 9DAC 0012 sub.l [A4 + 0x12], D6
000036D4 4AAC 0012 tst.l [A4 + 0x12]
000036D8 660C bne +0xE /* 000036E6 */
000036DA 2F0C move.l -[A7], A4
000036DC 4EBA D1FA jsr [PC - 0x2E06 /* 000008D8 */]
000036E0 588F addq.l A7, 4
000036E2 4A40 tst.w D0
000036E4 660C bne +0xE /* 000036F2 */
label000036E6:
000036E6 DDAE 0008 add.l [A6 + 0x8], D6
000036EA 9E86 sub.l D7, D6
000036EC 4A87 tst.l D7
000036EE 6600 FEF0 bne -0x10E /* 000035E0 */
label000036F2:
000036F2 4A87 tst.l D7
000036F4 6716 beq +0x18 /* 0000370C */
000036F6 2007 move.l D0, D7
000036F8 D0AE 000C add.l D0, [A6 + 0xC]
000036FC 2F2E 000C move.l -[A7], [A6 + 0xC]
00003700 5380 subq.l D0, 1
00003702 2F00 move.l -[A7], D0
00003704 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
00003708 91AE 0010 sub.l [A6 + 0x10], D0
label0000370C:
0000370C 202E 0010 move.l D0, [A6 + 0x10]
label00003710:
00003710 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00003714 4E5E unlink A6
00003716 4E75 rts
fn00003718:
00003718 4E56 0000 link A6, 0
0000371C 48E7 0118 movem.l -[A7], D7,A3,A4
00003720 286E 000E movea.l A4, [A6 + 0xE]
00003724 266E 0008 movea.l A3, [A6 + 0x8]
00003728 0C6E 0001 000C cmpi.w [A6 + 0xC], 0x1
0000372E 6C00 004E bge +0x50 /* 0000377E */
00003732 7000 moveq.l D0, 0x00
00003734 6000 0058 bra +0x5A /* 0000378E */
label00003738:
00003738 202C 0012 move.l D0, [A4 + 0x12]
0000373C 53AC 0012 subq.l [A4 + 0x12], 1
00003740 4A80 tst.l D0
00003742 6710 beq +0x12 /* 00003754 */
00003744 206C 000E movea.l A0, [A4 + 0xE]
00003748 52AC 000E addq.l [A4 + 0xE], 1
0000374C 7000 moveq.l D0, 0x00
0000374E 1010 move.b D0, [A0]
00003750 48C0 ext.l D0
00003752 6008 bra +0xA /* 0000375C */
label00003754:
00003754 2F0C move.l -[A7], A4
00003756 4EBA D02A jsr [PC - 0x2FD6 /* 00000782 */]
0000375A 588F addq.l A7, 4
label0000375C:
0000375C 3E00 move.w D7, D0
0000375E 4A40 tst.w D0
00003760 6C10 bge +0x12 /* 00003772 */
00003762 0814 0005 btst.b [A4], 0x5
00003766 6706 beq +0x8 /* 0000376E */
00003768 B7EE 0008 cmpa.l A3, [A6 + 0x8]
0000376C 661A bne +0x1C /* 00003788 */
label0000376E:
0000376E 7000 moveq.l D0, 0x00
00003770 601C bra +0x1E /* 0000378E */
label00003772:
00003772 41D3 lea.l A0, [A3]
00003774 528B addq.l A3, 1
00003776 1087 move.b [A0], D7
00003778 0C47 000A cmpi.w D7, 0xA /* '\n' */
0000377C 670A beq +0xC /* 00003788 */
label0000377E:
0000377E 536E 000C subq.w [A6 + 0xC], 1
00003782 4A6E 000C tst.w [A6 + 0xC]
00003786 66B0 bne -0x4E /* 00003738 */
label00003788:
00003788 4213 clr.b [A3]
0000378A 202E 0008 move.l D0, [A6 + 0x8]
label0000378E:
0000378E 4CDF 1880 movem.l D7,A3,A4, [A7]+
00003792 4E5E unlink A6
00003794 4E75 rts
00003796 4E56 0000 link A6, 0
0000379A 48E7 0118 movem.l -[A7], D7,A3,A4
0000379E 41ED FD2E lea.l A0, [A5 - 0x2D2]
000037A2 2848 movea.l A4, A0
000037A4 266E 0008 movea.l A3, [A6 + 0x8]
label000037A8:
000037A8 202C 0012 move.l D0, [A4 + 0x12]
000037AC 53AC 0012 subq.l [A4 + 0x12], 1
000037B0 4A80 tst.l D0
000037B2 6710 beq +0x12 /* 000037C4 */
000037B4 206C 000E movea.l A0, [A4 + 0xE]
000037B8 52AC 000E addq.l [A4 + 0xE], 1
000037BC 7000 moveq.l D0, 0x00
000037BE 1010 move.b D0, [A0]
000037C0 48C0 ext.l D0
000037C2 6008 bra +0xA /* 000037CC */
label000037C4:
000037C4 2F0C move.l -[A7], A4
000037C6 4EBA CFBA jsr [PC - 0x3046 /* 00000782 */]
000037CA 588F addq.l A7, 4
label000037CC:
000037CC 3E00 move.w D7, D0
000037CE 4A40 tst.w D0
000037D0 6C10 bge +0x12 /* 000037E2 */
000037D2 0814 0005 btst.b [A4], 0x5
000037D6 6706 beq +0x8 /* 000037DE */
000037D8 B7EE 0008 cmpa.l A3, [A6 + 0x8]
000037DC 6612 bne +0x14 /* 000037F0 */
label000037DE:
000037DE 7000 moveq.l D0, 0x00
000037E0 6014 bra +0x16 /* 000037F6 */
label000037E2:
000037E2 0C47 000A cmpi.w D7, 0xA /* '\n' */
000037E6 6708 beq +0xA /* 000037F0 */
000037E8 41D3 lea.l A0, [A3]
000037EA 528B addq.l A3, 1
000037EC 1087 move.b [A0], D7
000037EE 60B8 bra -0x46 /* 000037A8 */
label000037F0:
000037F0 4213 clr.b [A3]
000037F2 202E 0008 move.l D0, [A6 + 0x8]
label000037F6:
000037F6 4CDF 1880 movem.l D7,A3,A4, [A7]+
000037FA 4E5E unlink A6
000037FC 4E75 rts
fn000037FE:
000037FE 4E56 0000 link A6, 0
00003802 2F0C move.l -[A7], A4
00003804 286E 0008 movea.l A4, [A6 + 0x8]
00003808 202C 0012 move.l D0, [A4 + 0x12]
0000380C 53AC 0012 subq.l [A4 + 0x12], 1
00003810 4A80 tst.l D0
00003812 6710 beq +0x12 /* 00003824 */
00003814 206C 000E movea.l A0, [A4 + 0xE]
00003818 52AC 000E addq.l [A4 + 0xE], 1
0000381C 7000 moveq.l D0, 0x00
0000381E 1010 move.b D0, [A0]
00003820 48C0 ext.l D0
00003822 6008 bra +0xA /* 0000382C */
label00003824:
00003824 2F0C move.l -[A7], A4
00003826 4EBA CF5A jsr [PC - 0x30A6 /* 00000782 */]
0000382A 588F addq.l A7, 4
label0000382C:
0000382C 285F movea.l A4, [A7]+
0000382E 4E5E unlink A6
00003830 4E75 rts
00003832 4E56 0000 link A6, 0
00003836 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000383A 4EBA FFC2 jsr [PC - 0x3E /* 000037FE */]
0000383E 588F addq.l A7, 4
00003840 4E5E unlink A6
00003842 4E75 rts
00003844 486D FD2E pea.l [A5 - 0x2D2]
00003848 4EBA FFB4 jsr [PC - 0x4C /* 000037FE */]
0000384C 588F addq.l A7, 4
0000384E 4E75 rts
fn00003850:
00003850 4E56 FFFE link A6, -0x0002
00003854 2F0C move.l -[A7], A4
00003856 41ED FDA0 lea.l A0, [A5 - 0x260]
0000385A 2848 movea.l A4, A0
0000385C 700C moveq.l D0, 0x0C
0000385E 3D40 FFFE move.w [A6 - 0x2], D0
00003862 600E bra +0x10 /* 00003872 */
label00003864:
00003864 4A6C 0004 tst.w [A4 + 0x4]
00003868 6604 bne +0x6 /* 0000386E */
0000386A 200C move.l D0, A4
0000386C 6018 bra +0x1A /* 00003886 */
label0000386E:
0000386E 49EC 0026 lea.l A4, [A4 + 0x26]
label00003872:
00003872 302E FFFE move.w D0, [A6 - 0x2]
00003876 536E FFFE subq.w [A6 - 0x2], 1
0000387A 4A40 tst.w D0
0000387C 66E6 bne -0x18 /* 00003864 */
0000387E 7018 moveq.l D0, 0x18
00003880 3B40 FCFA move.w [A5 - 0x306], D0
00003884 7000 moveq.l D0, 0x00
label00003886:
00003886 285F movea.l A4, [A7]+
00003888 4E5E unlink A6
0000388A 4E75 rts
export_78:
0000388C 4E56 0000 link A6, 0
00003890 486E 0010 pea.l [A6 + 0x10]
00003894 2F2E 000C move.l -[A7], [A6 + 0xC]
00003898 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000389C 4EBA 02B0 jsr [PC + 0x2B0 /* 00003B4E */]
000038A0 4FEF 000C lea.l A7, [A7 + 0xC]
000038A4 4E5E unlink A6
000038A6 4E75 rts
export_80:
000038A8 4E56 0000 link A6, 0
000038AC 486E 000C pea.l [A6 + 0xC]
000038B0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000038B4 4EBA 0008 jsr [PC + 0x8 /* 000038BE */]
000038B8 508F addq.l A7, 8
000038BA 4E5E unlink A6
000038BC 4E75 rts
fn000038BE:
000038BE 4E56 0000 link A6, 0
000038C2 2F2E 000C move.l -[A7], [A6 + 0xC]
000038C6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000038CA 486D FD54 pea.l [A5 - 0x2AC]
000038CE 4EBA 027E jsr [PC + 0x27E /* 00003B4E */]
000038D2 4FEF 000C lea.l A7, [A7 + 0xC]
000038D6 4E5E unlink A6
000038D8 4E75 rts
000038DA 4E56 0000 link A6, 0
000038DE 486E 0010 pea.l [A6 + 0x10]
000038E2 2F2E 000C move.l -[A7], [A6 + 0xC]
000038E6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000038EA 4EBA 0D8A jsr [PC + 0xD8A /* 00004676 */]
000038EE 4FEF 000C lea.l A7, [A7 + 0xC]
000038F2 4E5E unlink A6
000038F4 4E75 rts
000038F6 4E56 0000 link A6, 0
000038FA 486E 000C pea.l [A6 + 0xC]
000038FE 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003902 4EBA 0008 jsr [PC + 0x8 /* 0000390C */]
00003906 508F addq.l A7, 8
00003908 4E5E unlink A6
0000390A 4E75 rts
fn0000390C:
0000390C 4E56 0000 link A6, 0
00003910 2F2E 000C move.l -[A7], [A6 + 0xC]
00003914 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003918 486D FD2E pea.l [A5 - 0x2D2]
0000391C 4EBA 0D58 jsr [PC + 0xD58 /* 00004676 */]
00003920 4FEF 000C lea.l A7, [A7 + 0xC]
00003924 4E5E unlink A6
00003926 4E75 rts
fn00003928:
00003928 4E56 0000 link A6, 0
0000392C 4AAE 000C tst.l [A6 + 0xC]
00003930 6604 bne +0x6 /* 00003936 */
00003932 7002 moveq.l D0, 0x02
00003934 6002 bra +0x4 /* 00003938 */
label00003936:
00003936 7000 moveq.l D0, 0x00
label00003938:
00003938 4878 0200 push.l 0x200
0000393C 3F00 move.w -[A7], D0
0000393E 2F2E 000C move.l -[A7], [A6 + 0xC]
00003942 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003946 4EBA 000A jsr [PC + 0xA /* 00003952 */]
0000394A 4FEF 000E lea.l A7, [A7 + 0xE]
0000394E 4E5E unlink A6
00003950 4E75 rts
fn00003952:
00003952 4E56 FFFE link A6, -0x0002
00003956 2F0C move.l -[A7], A4
00003958 286E 0008 movea.l A4, [A6 + 0x8]
0000395C 426E FFFE clr.w [A6 - 0x2]
00003960 2F0C move.l -[A7], A4
00003962 4EBA 18C4 jsr [PC + 0x18C4 /* 00005228 */]
00003966 588F addq.l A7, 4
00003968 302E 0010 move.w D0, [A6 + 0x10]
0000396C 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00003970 0000 0002 ori.b D0, 0x2
00003974 003C 0016 ori.b ccr, 22
00003978 0014 0002 ori.b [A4], 0x2
0000397C 41EC 0002 lea.l A0, [A4 + 0x2]
00003980 2D48 000C move.l [A6 + 0xC], A0
00003984 7001 moveq.l D0, 0x01
00003986 2D40 0012 move.l [A6 + 0x12], D0
0000398A 6028 bra +0x2A /* 000039B4 */
0000398C 4AAE 0012 tst.l [A6 + 0x12]
00003990 671E beq +0x20 /* 000039B0 */
00003992 4AAE 000C tst.l [A6 + 0xC]
00003996 661C bne +0x1E /* 000039B4 */
00003998 7001 moveq.l D0, 0x01
0000399A 3D40 FFFE move.w [A6 - 0x2], D0
0000399E 2F2E 0012 move.l -[A7], [A6 + 0x12]
000039A2 4EBA C976 jsr [PC - 0x368A /* 0000031A */]
000039A6 588F addq.l A7, 4
000039A8 2D40 000C move.l [A6 + 0xC], D0
000039AC 4A80 tst.l D0
000039AE 6604 bne +0x6 /* 000039B4 */
label000039B0:
000039B0 70FF moveq.l D0, 0xFFFFFFFF
000039B2 6034 bra +0x36 /* 000039E8 */
label000039B4:
000039B4 0814 0002 btst.b [A4], 0x2
000039B8 670E beq +0x10 /* 000039C8 */
000039BA 2F2C 0006 move.l -[A7], [A4 + 0x6]
000039BE 4EBA CB2E jsr [PC - 0x34D2 /* 000004EE */]
000039C2 588F addq.l A7, 4
000039C4 0894 0002 bclr.b [A4], 0x2
label000039C8:
000039C8 4A6E FFFE tst.w [A6 - 0x2]
000039CC 6704 beq +0x6 /* 000039D2 */
000039CE 08D4 0002 bset.b [A4], 0x2
label000039D2:
000039D2 296E 000C 0006 move.l [A4 + 0x6], [A6 + 0xC]
000039D8 296E 0012 000A move.l [A4 + 0xA], [A6 + 0x12]
000039DE 2F0C move.l -[A7], A4
000039E0 4EBA CF46 jsr [PC - 0x30BA /* 00000928 */]
000039E4 588F addq.l A7, 4
000039E6 7000 moveq.l D0, 0x00
label000039E8:
000039E8 285F movea.l A4, [A7]+
000039EA 4E5E unlink A6
000039EC 4E75 rts
export_79:
fn000039EE:
000039EE 4E56 FFFC link A6, -0x0004
000039F2 2F0C move.l -[A7], A4
000039F4 286E 0008 movea.l A4, [A6 + 0x8]
000039F8 200C move.l D0, A4
000039FA 6712 beq +0x14 /* 00003A0E */
000039FC 2F0C move.l -[A7], A4
000039FE 4EBA 1828 jsr [PC + 0x1828 /* 00005228 */]
00003A02 588F addq.l A7, 4
00003A04 2F0C move.l -[A7], A4
00003A06 4EBA CED0 jsr [PC - 0x3130 /* 000008D8 */]
00003A0A 588F addq.l A7, 4
00003A0C 603E bra +0x40 /* 00003A4C */
label00003A0E:
00003A0E 426E FFFE clr.w [A6 - 0x2]
00003A12 41ED FD2E lea.l A0, [A5 - 0x2D2]
00003A16 2848 movea.l A4, A0
00003A18 700F moveq.l D0, 0x0F
00003A1A 3D40 FFFC move.w [A6 - 0x4], D0
00003A1E 601C bra +0x1E /* 00003A3C */
label00003A20:
00003A20 0814 0003 btst.b [A4], 0x3
00003A24 6712 beq +0x14 /* 00003A38 */
00003A26 2F0C move.l -[A7], A4
00003A28 4EBA CEAE jsr [PC - 0x3152 /* 000008D8 */]
00003A2C 588F addq.l A7, 4
00003A2E 4A40 tst.w D0
00003A30 6706 beq +0x8 /* 00003A38 */
00003A32 70FF moveq.l D0, 0xFFFFFFFF
00003A34 3D40 FFFE move.w [A6 - 0x2], D0
label00003A38:
00003A38 49EC 0026 lea.l A4, [A4 + 0x26]
label00003A3C:
00003A3C 302E FFFC move.w D0, [A6 - 0x4]
00003A40 536E FFFC subq.w [A6 - 0x4], 1
00003A44 4A40 tst.w D0
00003A46 66D8 bne -0x26 /* 00003A20 */
00003A48 302E FFFE move.w D0, [A6 - 0x2]
label00003A4C:
00003A4C 285F movea.l A4, [A7]+
00003A4E 4E5E unlink A6
00003A50 4E75 rts
fn00003A52:
00003A52 4E56 FFFE link A6, -0x0002
00003A56 2F0C move.l -[A7], A4
00003A58 286E 0008 movea.l A4, [A6 + 0x8]
00003A5C 426E FFFE clr.w [A6 - 0x2]
00003A60 0894 0007 bclr.b [A4], 0x7
00003A64 4A6C 0004 tst.w [A4 + 0x4]
00003A68 6744 beq +0x46 /* 00003AAE */
00003A6A 2F0C move.l -[A7], A4
00003A6C 4EBA CE6A jsr [PC - 0x3196 /* 000008D8 */]
00003A70 588F addq.l A7, 4
00003A72 4A40 tst.w D0
00003A74 6706 beq +0x8 /* 00003A7C */
00003A76 70FF moveq.l D0, 0xFFFFFFFF
00003A78 3D40 FFFE move.w [A6 - 0x2], D0
label00003A7C:
00003A7C 2F0C move.l -[A7], A4
00003A7E 4EBA 1988 jsr [PC + 0x1988 /* 00005408 */]
00003A82 588F addq.l A7, 4
00003A84 4A40 tst.w D0
00003A86 6706 beq +0x8 /* 00003A8E */
00003A88 70FF moveq.l D0, 0xFFFFFFFF
00003A8A 3D40 FFFE move.w [A6 - 0x2], D0
label00003A8E:
00003A8E 0814 0002 btst.b [A4], 0x2
00003A92 670A beq +0xC /* 00003A9E */
00003A94 2F2C 0006 move.l -[A7], [A4 + 0x6]
00003A98 4EBA CA54 jsr [PC - 0x35AC /* 000004EE */]
00003A9C 588F addq.l A7, 4
label00003A9E:
00003A9E 4878 0026 push.l 0x26 /* '&' */
00003AA2 4267 clr.w -[A7]
00003AA4 2F0C move.l -[A7], A4
00003AA6 4EBA 008E jsr [PC + 0x8E /* 00003B36 */]
00003AAA 4FEF 000A lea.l A7, [A7 + 0xA]
label00003AAE:
00003AAE 302E FFFE move.w D0, [A6 - 0x2]
00003AB2 285F movea.l A4, [A7]+
00003AB4 4E5E unlink A6
00003AB6 4E75 rts
export_81:
fn00003AB8:
00003AB8 202F 0004 move.l D0, [A7 + 0x4]
00003ABC 2040 movea.l A0, D0
00003ABE 226F 0008 movea.l A1, [A7 + 0x8]
00003AC2 222F 000C move.l D1, [A7 + 0xC]
00003AC6 6004 bra +0x6 /* 00003ACC */
label00003AC8:
00003AC8 10D9 move.b [A0]+, [A1]+
00003ACA 5381 subq.l D1, 1
label00003ACC:
00003ACC 66FA bne -0x4 /* 00003AC8 */
00003ACE 4E75 rts
fn00003AD0:
00003AD0 202F 0004 move.l D0, [A7 + 0x4]
00003AD4 2040 movea.l A0, D0
00003AD6 226F 0008 movea.l A1, [A7 + 0x8]
00003ADA 222F 000C move.l D1, [A7 + 0xC]
00003ADE 6716 beq +0x18 /* 00003AF6 */
00003AE0 B3C8 cmpa.l A1, A0
00003AE2 620C bhi +0xE /* 00003AF0 */
00003AE4 D1C1 add.l A0, D1
00003AE6 D3C1 add.l A1, D1
label00003AE8:
00003AE8 1121 move.b -[A0], -[A1]
00003AEA 5381 subq.l D1, 1
00003AEC 66FA bne -0x4 /* 00003AE8 */
00003AEE 4E75 rts
label00003AF0:
00003AF0 10D9 move.b [A0]+, [A1]+
00003AF2 5381 subq.l D1, 1
00003AF4 66FA bne -0x4 /* 00003AF0 */
label00003AF6:
00003AF6 4E75 rts
00003AF8 7000 moveq.l D0, 0x00
00003AFA 206F 0004 movea.l A0, [A7 + 0x4]
00003AFE 226F 0008 movea.l A1, [A7 + 0x8]
00003B02 222F 000C move.l D1, [A7 + 0xC]
00003B06 6002 bra +0x4 /* 00003B0A */
label00003B08:
00003B08 5381 subq.l D1, 1
label00003B0A:
00003B0A 670A beq +0xC /* 00003B16 */
00003B0C B308 cmpm.b [A1]+, [A0]+
00003B0E 67F8 beq -0x6 /* 00003B08 */
00003B10 6502 bcs +0x4 /* 00003B14 */
00003B12 5580 subq.l D0, 2
label00003B14:
00003B14 5280 addq.l D0, 1
label00003B16:
00003B16 4E75 rts
fn00003B18:
00003B18 7001 moveq.l D0, 0x01
00003B1A 206F 0004 movea.l A0, [A7 + 0x4]
00003B1E 322F 0008 move.w D1, [A7 + 0x8]
00003B22 242F 000A move.l D2, [A7 + 0xA]
00003B26 6002 bra +0x4 /* 00003B2A */
label00003B28:
00003B28 5382 subq.l D2, 1
label00003B2A:
00003B2A 6706 beq +0x8 /* 00003B32 */
00003B2C B218 cmp.b D1, [A0]+
00003B2E 66F8 bne -0x6 /* 00003B28 */
00003B30 2008 move.l D0, A0
label00003B32:
00003B32 5380 subq.l D0, 1
00003B34 4E75 rts
export_82:
fn00003B36:
00003B36 202F 0004 move.l D0, [A7 + 0x4]
00003B3A 2040 movea.l A0, D0
00003B3C 322F 0008 move.w D1, [A7 + 0x8]
00003B40 242F 000A move.l D2, [A7 + 0xA]
00003B44 6004 bra +0x6 /* 00003B4A */
label00003B46:
00003B46 10C1 move.b [A0]+, D1
00003B48 5382 subq.l D2, 1
label00003B4A:
00003B4A 66FA bne -0x4 /* 00003B46 */
00003B4C 4E75 rts
fn00003B4E:
00003B4E 4E56 FDD0 link A6, -0x0230
00003B52 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
00003B56 7800 moveq.l D4, 0x00
00003B58 206E 000C movea.l A0, [A6 + 0xC]
00003B5C 1010 move.b D0, [A0]
00003B5E 4880 ext.w D0
00003B60 3E00 move.w D7, D0
00003B62 6000 08F4 bra +0x8F6 /* 00004458 */
label00003B66:
00003B66 0C47 0025 cmpi.w D7, 0x25 /* '%' */
00003B6A 6600 07C4 bne +0x7C6 /* 00004330 */
00003B6E 41EE FDF0 lea.l A0, [A6 - 0x210]
00003B72 43ED FF68 lea.l A1, [A5 - 0x98]
00003B76 20D9 move.l [A0]+, [A1]+
00003B78 20D9 move.l [A0]+, [A1]+
label00003B7A:
00003B7A 52AE 000C addq.l [A6 + 0xC], 1
00003B7E 206E 000C movea.l A0, [A6 + 0xC]
00003B82 1010 move.b D0, [A0]
00003B84 4880 ext.w D0
00003B86 3E00 move.w D7, D0
00003B88 0C47 002D cmpi.w D7, 0x2D /* '-' */
00003B8C 6608 bne +0xA /* 00003B96 */
00003B8E 08EE 0007 FDF0 bset.b [A6 - 0x210], 0x7
00003B94 60E4 bra -0x1A /* 00003B7A */
label00003B96:
00003B96 0C47 002B cmpi.w D7, 0x2B /* '+' */
00003B9A 6608 bne +0xA /* 00003BA4 */
00003B9C 08EE 0006 FDF0 bset.b [A6 - 0x210], 0x6
00003BA2 60D6 bra -0x28 /* 00003B7A */
label00003BA4:
00003BA4 0C47 0020 cmpi.w D7, 0x20 /* ' ' */
00003BA8 6608 bne +0xA /* 00003BB2 */
00003BAA 7020 moveq.l D0, 0x20
00003BAC 1D40 FDF2 move.b [A6 - 0x20E], D0
00003BB0 60C8 bra -0x36 /* 00003B7A */
label00003BB2:
00003BB2 0C47 0023 cmpi.w D7, 0x23 /* '#' */
00003BB6 6608 bne +0xA /* 00003BC0 */
00003BB8 08EE 0005 FDF0 bset.b [A6 - 0x210], 0x5
00003BBE 60BA bra -0x44 /* 00003B7A */
label00003BC0:
00003BC0 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00003BC4 6608 bne +0xA /* 00003BCE */
00003BC6 08EE 0004 FDF0 bset.b [A6 - 0x210], 0x4
00003BCC 60AC bra -0x52 /* 00003B7A */
label00003BCE:
00003BCE 0C47 002A cmpi.w D7, 0x2A /* '*' */
00003BD2 6652 bne +0x54 /* 00003C26 */
00003BD4 206E 0010 movea.l A0, [A6 + 0x10]
00003BD8 54AE 0010 addq.l [A6 + 0x10], 2
00003BDC 3010 move.w D0, [A0]
00003BDE 3D40 FDF4 move.w [A6 - 0x20C], D0
00003BE2 4A40 tst.w D0
00003BE4 6C10 bge +0x12 /* 00003BF6 */
00003BE6 08EE 0007 FDF0 bset.b [A6 - 0x210], 0x7
00003BEC 302E FDF4 move.w D0, [A6 - 0x20C]
00003BF0 4440 neg.w D0
00003BF2 3D40 FDF4 move.w [A6 - 0x20C], D0
label00003BF6:
00003BF6 52AE 000C addq.l [A6 + 0xC], 1
00003BFA 206E 000C movea.l A0, [A6 + 0xC]
00003BFE 1010 move.b D0, [A0]
00003C00 4880 ext.w D0
00003C02 3E00 move.w D7, D0
00003C04 602C bra +0x2E /* 00003C32 */
label00003C06:
00003C06 302E FDF4 move.w D0, [A6 - 0x20C]
00003C0A C1FC 000A muls.w D0, 0xA /* '\n' */
00003C0E D047 add.w D0, D7
00003C10 0640 FFD0 addi.w D0, 0xFFD0
00003C14 3D40 FDF4 move.w [A6 - 0x20C], D0
00003C18 52AE 000C addq.l [A6 + 0xC], 1
00003C1C 206E 000C movea.l A0, [A6 + 0xC]
00003C20 1010 move.b D0, [A0]
00003C22 4880 ext.w D0
00003C24 3E00 move.w D7, D0
label00003C26:
00003C26 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00003C2A 6D06 blt +0x8 /* 00003C32 */
00003C2C 0C47 0039 cmpi.w D7, 0x39 /* '9' */
00003C30 6FD4 ble -0x2A /* 00003C06 */
label00003C32:
00003C32 0C47 002E cmpi.w D7, 0x2E /* '.' */
00003C36 6600 006A bne +0x6C /* 00003CA2 */
00003C3A 52AE 000C addq.l [A6 + 0xC], 1
00003C3E 206E 000C movea.l A0, [A6 + 0xC]
00003C42 1010 move.b D0, [A0]
00003C44 4880 ext.w D0
00003C46 3E00 move.w D7, D0
00003C48 0C40 002A cmpi.w D0, 0x2A /* '*' */
00003C4C 663C bne +0x3E /* 00003C8A */
00003C4E 206E 0010 movea.l A0, [A6 + 0x10]
00003C52 54AE 0010 addq.l [A6 + 0x10], 2
00003C56 3D50 FDF6 move.w [A6 - 0x20A], [A0]
00003C5A 52AE 000C addq.l [A6 + 0xC], 1
00003C5E 206E 000C movea.l A0, [A6 + 0xC]
00003C62 1010 move.b D0, [A0]
00003C64 4880 ext.w D0
00003C66 3E00 move.w D7, D0
00003C68 602C bra +0x2E /* 00003C96 */
label00003C6A:
00003C6A 302E FDF6 move.w D0, [A6 - 0x20A]
00003C6E C1FC 000A muls.w D0, 0xA /* '\n' */
00003C72 D047 add.w D0, D7
00003C74 0640 FFD0 addi.w D0, 0xFFD0
00003C78 3D40 FDF6 move.w [A6 - 0x20A], D0
00003C7C 52AE 000C addq.l [A6 + 0xC], 1
00003C80 206E 000C movea.l A0, [A6 + 0xC]
00003C84 1010 move.b D0, [A0]
00003C86 4880 ext.w D0
00003C88 3E00 move.w D7, D0
label00003C8A:
00003C8A 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00003C8E 6D06 blt +0x8 /* 00003C96 */
00003C90 0C47 0039 cmpi.w D7, 0x39 /* '9' */
00003C94 6FD4 ble -0x2A /* 00003C6A */
label00003C96:
00003C96 4A6E FDF6 tst.w [A6 - 0x20A]
00003C9A 6D06 blt +0x8 /* 00003CA2 */
00003C9C 08EE 0003 FDF0 bset.b [A6 - 0x210], 0x3
label00003CA2:
00003CA2 284E movea.l A4, A6
00003CA4 082E 0007 FDF0 btst.b [A6 - 0x210], 0x7
00003CAA 6706 beq +0x8 /* 00003CB2 */
00003CAC 08AE 0004 FDF0 bclr.b [A6 - 0x210], 0x4
label00003CB2:
00003CB2 3007 move.w D0, D7
00003CB4 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00003CB8 0045 0078 ori.w D5, 0x78 /* 'x' */
00003CBC 066C 0374 0668 addi.w [A4 + 0x668], 0x374
00003CC2 03BA 0664 bclr [PC + 0x664 /* 00004328, value 0xC470025 */], D1
00003CC6 0662 0660 addi.w -[A2], 0x660
00003CCA 065E 008A addi.w [A6]+, 0x8A
00003CCE 065A 0658 addi.w [A2]+, 0x658
00003CD2 0656 0654 addi.w [A6], 0x654
00003CD6 0652 0650 addi.w [A2], 0x650
00003CDA 064E 064C addi.w A6, 0x64C
00003CDE 064A 0648 addi.w A2, 0x648
00003CE2 0646 023C addi.w D6, 0x23C
00003CE6 0642 0640 addi.w D2, 0x640
00003CEA 063E 063C addi.b <<invalid special address>>, 0x3C /* '<' */
00003CEE 063A 0638 0636 addi.b [PC + 0x636 /* 00004326, value 0x1 */], 0x38 /* '8' */
00003CF4 0634 0632 0630 addi.b [A4 + D0.w * 8 + 0x30], 0x32 /* '2' */
00003CFA 0572 0072 bchg [A2 + D0.w + 0x72], D2
00003CFE 0334 02DA btst [A4 + D0.w * 2 - 0x38], D1
00003D02 037A 0022 bchg [PC + 0x22 /* 00003D26, value 0x8EE */], D1
00003D06 0068 0620 061E ori.w [A0 + 0x61E], 0x620
00003D0C 0032 061A 05EA 015C 01FA ori.b [[0x15C] + 0x1FA], 0x1A
00003D16 0612 0610 addi.b [A2], 0x10
00003D1A 0566 bchg -[A6], D2
00003D1C 060C 00A0 addi.b A4, 0xA0
00003D20 0608 0606 addi.b A0, 0x6
00003D24 0206 08EE andi.b D6, 0xEE
00003D28 0002 FDF0 ori.b D2, 0xF0
00003D2C 52AE 000C addq.l [A6 + 0xC], 1
00003D30 206E 000C movea.l A0, [A6 + 0xC]
00003D34 1010 move.b D0, [A0]
00003D36 4880 ext.w D0
00003D38 3E00 move.w D7, D0
00003D3A 6000 FF76 bra -0x88 /* 00003CB2 */
00003D3E 08EE 0001 FDF0 bset.b [A6 - 0x210], 0x1
00003D44 52AE 000C addq.l [A6 + 0xC], 1
00003D48 206E 000C movea.l A0, [A6 + 0xC]
00003D4C 1010 move.b D0, [A0]
00003D4E 4880 ext.w D0
00003D50 3E00 move.w D7, D0
00003D52 6000 FF5E bra -0xA0 /* 00003CB2 */
00003D56 08EE 0000 FDF0 bset.b [A6 - 0x210], 0x0
00003D5C 52AE 000C addq.l [A6 + 0xC], 1
00003D60 206E 000C movea.l A0, [A6 + 0xC]
00003D64 1010 move.b D0, [A0]
00003D66 4880 ext.w D0
00003D68 3E00 move.w D7, D0
00003D6A 6000 FF46 bra -0xB8 /* 00003CB2 */
00003D6E 082E 0001 FDF0 btst.b [A6 - 0x210], 0x1
00003D74 670C beq +0xE /* 00003D82 */
00003D76 206E 0010 movea.l A0, [A6 + 0x10]
00003D7A 58AE 0010 addq.l [A6 + 0x10], 4
00003D7E 2610 move.l D3, [A0]
00003D80 600C bra +0xE /* 00003D8E */
label00003D82:
00003D82 206E 0010 movea.l A0, [A6 + 0x10]
00003D86 54AE 0010 addq.l [A6 + 0x10], 2
00003D8A 3050 movea.w A0, [A0]
00003D8C 2608 move.l D3, A0
label00003D8E:
00003D8E 082E 0002 FDF0 btst.b [A6 - 0x210], 0x2
00003D94 6704 beq +0x6 /* 00003D9A */
00003D96 3043 movea.w A0, D3
00003D98 2608 move.l D3, A0
label00003D9A:
00003D9A 4A83 tst.l D3
00003D9C 6C10 bge +0x12 /* 00003DAE */
00003D9E 2003 move.l D0, D3
00003DA0 4480 neg.l D0
00003DA2 2600 move.l D3, D0
00003DA4 702D moveq.l D0, 0x2D
00003DA6 1D40 FDF2 move.b [A6 - 0x20E], D0
00003DAA 6000 0046 bra +0x48 /* 00003DF2 */
label00003DAE:
00003DAE 082E 0006 FDF0 btst.b [A6 - 0x210], 0x6
00003DB4 673C beq +0x3E /* 00003DF2 */
00003DB6 702B moveq.l D0, 0x2B
00003DB8 1D40 FDF2 move.b [A6 - 0x20E], D0
00003DBC 6034 bra +0x36 /* 00003DF2 */
00003DBE 082E 0001 FDF0 btst.b [A6 - 0x210], 0x1
00003DC4 670C beq +0xE /* 00003DD2 */
00003DC6 206E 0010 movea.l A0, [A6 + 0x10]
00003DCA 58AE 0010 addq.l [A6 + 0x10], 4
00003DCE 2610 move.l D3, [A0]
00003DD0 600E bra +0x10 /* 00003DE0 */
label00003DD2:
00003DD2 206E 0010 movea.l A0, [A6 + 0x10]
00003DD6 54AE 0010 addq.l [A6 + 0x10], 2
00003DDA 7000 moveq.l D0, 0x00
00003DDC 3010 move.w D0, [A0]
00003DDE 2600 move.l D3, D0
label00003DE0:
00003DE0 082E 0002 FDF0 btst.b [A6 - 0x210], 0x2
00003DE6 6706 beq +0x8 /* 00003DEE */
00003DE8 7000 moveq.l D0, 0x00
00003DEA 3003 move.w D0, D3
00003DEC 2600 move.l D3, D0
label00003DEE:
00003DEE 422E FDF2 clr.b [A6 - 0x20E]
label00003DF2:
00003DF2 082E 0003 FDF0 btst.b [A6 - 0x210], 0x3
00003DF8 6626 bne +0x28 /* 00003E20 */
00003DFA 082E 0004 FDF0 btst.b [A6 - 0x210], 0x4
00003E00 6710 beq +0x12 /* 00003E12 */
00003E02 3D6E FDF4 FDF6 move.w [A6 - 0x20A], [A6 - 0x20C]
00003E08 4A2E FDF2 tst.b [A6 - 0x20E]
00003E0C 6704 beq +0x6 /* 00003E12 */
00003E0E 536E FDF6 subq.w [A6 - 0x20A], 1
label00003E12:
00003E12 0C6E 0001 FDF6 cmpi.w [A6 - 0x20A], 0x1
00003E18 6C06 bge +0x8 /* 00003E20 */
00003E1A 7001 moveq.l D0, 0x01
00003E1C 3D40 FDF6 move.w [A6 - 0x20A], D0
label00003E20:
00003E20 7C00 moveq.l D6, 0x00
00003E22 6022 bra +0x24 /* 00003E46 */
label00003E24:
00003E24 538C subq.l A4, 1
00003E26 4878 000A push.l 0xA /* '\n' */
00003E2A 2F03 move.l -[A7], D3
00003E2C 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00003E30 0680 0000 0030 addi.l D0, 0x30 /* '0' */
00003E36 1880 move.b [A4], D0
00003E38 4878 000A push.l 0xA /* '\n' */
00003E3C 2F03 move.l -[A7], D3
00003E3E 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
00003E42 2600 move.l D3, D0
00003E44 5246 addq.w D6, 1
label00003E46:
00003E46 4A83 tst.l D3
00003E48 66DA bne -0x24 /* 00003E24 */
00003E4A 6008 bra +0xA /* 00003E54 */
label00003E4C:
00003E4C 538C subq.l A4, 1
00003E4E 7030 moveq.l D0, 0x30
00003E50 1880 move.b [A4], D0
00003E52 5246 addq.w D6, 1
label00003E54:
00003E54 BC6E FDF6 cmp.w D6, [A6 - 0x20A]
00003E58 6DF2 blt -0xC /* 00003E4C */
00003E5A 4A2E FDF2 tst.b [A6 - 0x20E]
00003E5E 6700 0516 beq +0x518 /* 00004376 */
00003E62 538C subq.l A4, 1
00003E64 18AE FDF2 move.b [A4], [A6 - 0x20E]
00003E68 5246 addq.w D6, 1
00003E6A 6000 050A bra +0x50C /* 00004376 */
00003E6E 082E 0001 FDF0 btst.b [A6 - 0x210], 0x1
00003E74 670C beq +0xE /* 00003E82 */
00003E76 206E 0010 movea.l A0, [A6 + 0x10]
00003E7A 58AE 0010 addq.l [A6 + 0x10], 4
00003E7E 2610 move.l D3, [A0]
00003E80 600E bra +0x10 /* 00003E90 */
label00003E82:
00003E82 206E 0010 movea.l A0, [A6 + 0x10]
00003E86 54AE 0010 addq.l [A6 + 0x10], 2
00003E8A 7000 moveq.l D0, 0x00
00003E8C 3010 move.w D0, [A0]
00003E8E 2600 move.l D3, D0
label00003E90:
00003E90 082E 0002 FDF0 btst.b [A6 - 0x210], 0x2
00003E96 6706 beq +0x8 /* 00003E9E */
00003E98 7000 moveq.l D0, 0x00
00003E9A 3003 move.w D0, D3
00003E9C 2600 move.l D3, D0
label00003E9E:
00003E9E 082E 0003 FDF0 btst.b [A6 - 0x210], 0x3
00003EA4 661C bne +0x1E /* 00003EC2 */
00003EA6 082E 0004 FDF0 btst.b [A6 - 0x210], 0x4
00003EAC 6706 beq +0x8 /* 00003EB4 */
00003EAE 3D6E FDF4 FDF6 move.w [A6 - 0x20A], [A6 - 0x20C]
label00003EB4:
00003EB4 0C6E 0001 FDF6 cmpi.w [A6 - 0x20A], 0x1
00003EBA 6C06 bge +0x8 /* 00003EC2 */
00003EBC 7001 moveq.l D0, 0x01
00003EBE 3D40 FDF6 move.w [A6 - 0x20A], D0
label00003EC2:
00003EC2 7C00 moveq.l D6, 0x00
00003EC4 6016 bra +0x18 /* 00003EDC */
label00003EC6:
00003EC6 538C subq.l A4, 1
00003EC8 2003 move.l D0, D3
00003ECA 0280 0000 0007 andi.l D0, 0x7
00003ED0 0680 0000 0030 addi.l D0, 0x30 /* '0' */
00003ED6 1880 move.b [A4], D0
00003ED8 E68B lsr D3, 3
00003EDA 5246 addq.w D6, 1
label00003EDC:
00003EDC 4A83 tst.l D3
00003EDE 66E6 bne -0x18 /* 00003EC6 */
00003EE0 082E 0005 FDF0 btst.b [A6 - 0x210], 0x5
00003EE6 671C beq +0x1E /* 00003F04 */
00003EE8 4A46 tst.w D6
00003EEA 6718 beq +0x1A /* 00003F04 */
00003EEC 0C14 0030 cmpi.b [A4], 0x30 /* '0' */
00003EF0 6712 beq +0x14 /* 00003F04 */
00003EF2 538C subq.l A4, 1
00003EF4 7030 moveq.l D0, 0x30
00003EF6 1880 move.b [A4], D0
00003EF8 5246 addq.w D6, 1
00003EFA 6008 bra +0xA /* 00003F04 */
label00003EFC:
00003EFC 538C subq.l A4, 1
00003EFE 7030 moveq.l D0, 0x30
00003F00 1880 move.b [A4], D0
00003F02 5246 addq.w D6, 1
label00003F04:
00003F04 BC6E FDF6 cmp.w D6, [A6 - 0x20A]
00003F08 6DF2 blt -0xC /* 00003EFC */
00003F0A 6000 046A bra +0x46C /* 00004376 */
00003F0E 08EE 0001 FDF0 bset.b [A6 - 0x210], 0x1
00003F14 08EE 0003 FDF0 bset.b [A6 - 0x210], 0x3
00003F1A 7008 moveq.l D0, 0x08
00003F1C 3D40 FDF6 move.w [A6 - 0x20A], D0
00003F20 41ED FF70 lea.l A0, [A5 - 0x90]
00003F24 2D48 FDFC move.l [A6 - 0x204], A0
00003F28 6008 bra +0xA /* 00003F32 */
00003F2A 41ED FF82 lea.l A0, [A5 - 0x7E]
00003F2E 2D48 FDFC move.l [A6 - 0x204], A0
label00003F32:
00003F32 082E 0001 FDF0 btst.b [A6 - 0x210], 0x1
00003F38 670C beq +0xE /* 00003F46 */
00003F3A 206E 0010 movea.l A0, [A6 + 0x10]
00003F3E 58AE 0010 addq.l [A6 + 0x10], 4
00003F42 2610 move.l D3, [A0]
00003F44 600E bra +0x10 /* 00003F54 */
label00003F46:
00003F46 206E 0010 movea.l A0, [A6 + 0x10]
00003F4A 54AE 0010 addq.l [A6 + 0x10], 2
00003F4E 7000 moveq.l D0, 0x00
00003F50 3010 move.w D0, [A0]
00003F52 2600 move.l D3, D0
label00003F54:
00003F54 082E 0002 FDF0 btst.b [A6 - 0x210], 0x2
00003F5A 6706 beq +0x8 /* 00003F62 */
00003F5C 7000 moveq.l D0, 0x00
00003F5E 3003 move.w D0, D3
00003F60 2600 move.l D3, D0
label00003F62:
00003F62 082E 0003 FDF0 btst.b [A6 - 0x210], 0x3
00003F68 6628 bne +0x2A /* 00003F92 */
00003F6A 082E 0004 FDF0 btst.b [A6 - 0x210], 0x4
00003F70 6712 beq +0x14 /* 00003F84 */
00003F72 3D6E FDF4 FDF6 move.w [A6 - 0x20A], [A6 - 0x20C]
00003F78 082E 0005 FDF0 btst.b [A6 - 0x210], 0x5
00003F7E 6704 beq +0x6 /* 00003F84 */
00003F80 556E FDF6 subq.w [A6 - 0x20A], 2
label00003F84:
00003F84 0C6E 0001 FDF6 cmpi.w [A6 - 0x20A], 0x1
00003F8A 6C06 bge +0x8 /* 00003F92 */
00003F8C 7001 moveq.l D0, 0x01
00003F8E 3D40 FDF6 move.w [A6 - 0x20A], D0
label00003F92:
00003F92 7C00 moveq.l D6, 0x00
00003F94 6016 bra +0x18 /* 00003FAC */
label00003F96:
00003F96 538C subq.l A4, 1
00003F98 2003 move.l D0, D3
00003F9A 0280 0000 000F andi.l D0, 0xF
00003FA0 D0AE FDFC add.l D0, [A6 - 0x204]
00003FA4 2040 movea.l A0, D0
00003FA6 1890 move.b [A4], [A0]
00003FA8 E88B lsr D3, 4
00003FAA 5246 addq.w D6, 1
label00003FAC:
00003FAC 4A83 tst.l D3
00003FAE 66E6 bne -0x18 /* 00003F96 */
00003FB0 6008 bra +0xA /* 00003FBA */
label00003FB2:
00003FB2 538C subq.l A4, 1
00003FB4 7030 moveq.l D0, 0x30
00003FB6 1880 move.b [A4], D0
00003FB8 5246 addq.w D6, 1
label00003FBA:
00003FBA BC6E FDF6 cmp.w D6, [A6 - 0x20A]
00003FBE 6DF2 blt -0xC /* 00003FB2 */
00003FC0 082E 0005 FDF0 btst.b [A6 - 0x210], 0x5
00003FC6 6700 03AE beq +0x3B0 /* 00004376 */
00003FCA 538C subq.l A4, 1
00003FCC 1887 move.b [A4], D7
00003FCE 538C subq.l A4, 1
00003FD0 7030 moveq.l D0, 0x30
00003FD2 1880 move.b [A4], D0
00003FD4 5446 addq.w D6, 2
00003FD6 6000 039E bra +0x3A0 /* 00004376 */
00003FDA 082E 0003 FDF0 btst.b [A6 - 0x210], 0x3
00003FE0 6606 bne +0x8 /* 00003FE8 */
00003FE2 7006 moveq.l D0, 0x06
00003FE4 3D40 FDF6 move.w [A6 - 0x20A], D0
label00003FE8:
00003FE8 2F2E 0010 move.l -[A7], [A6 + 0x10]
00003FEC 486E FDD0 pea.l [A6 - 0x230]
00003FF0 3F2E FDF6 move.w -[A7], [A6 - 0x20A]
00003FF4 3F3C 0001 move.w -[A7], 0x1
00003FF8 4EBA 046E jsr [PC + 0x46E /* 00004468 */]
00003FFC 4FEF 000C lea.l A7, [A7 + 0xC]
00004000 102E FDD4 move.b D0, [A6 - 0x22C]
00004004 4880 ext.w D0
00004006 D06E FDD2 add.w D0, [A6 - 0x22E]
0000400A 3D40 FDEC move.w [A6 - 0x214], D0
0000400E 302E FDEC move.w D0, [A6 - 0x214]
00004012 3D40 FDEA move.w [A6 - 0x216], D0
00004016 0C40 0001 cmpi.w D0, 0x1
0000401A 6F06 ble +0x8 /* 00004022 */
0000401C 7001 moveq.l D0, 0x01
0000401E 3D40 FDEA move.w [A6 - 0x216], D0
label00004022:
00004022 302E FDEC move.w D0, [A6 - 0x214]
00004026 D06E FDF6 add.w D0, [A6 - 0x20A]
0000402A 3D40 FDEE move.w [A6 - 0x212], D0
0000402E 6000 00F8 bra +0xFA /* 00004128 */
00004032 082E 0003 FDF0 btst.b [A6 - 0x210], 0x3
00004038 6606 bne +0x8 /* 00004040 */
0000403A 7006 moveq.l D0, 0x06
0000403C 3D40 FDF6 move.w [A6 - 0x20A], D0
label00004040:
00004040 1D47 FDF3 move.b [A6 - 0x20D], D7
00004044 302E FDF6 move.w D0, [A6 - 0x20A]
00004048 5240 addq.w D0, 1
0000404A 3D40 FDEE move.w [A6 - 0x212], D0
0000404E 2F2E 0010 move.l -[A7], [A6 + 0x10]
00004052 486E FDD0 pea.l [A6 - 0x230]
00004056 3F00 move.w -[A7], D0
00004058 4267 clr.w -[A7]
0000405A 4EBA 040C jsr [PC + 0x40C /* 00004468 */]
0000405E 4FEF 000C lea.l A7, [A7 + 0xC]
00004062 7001 moveq.l D0, 0x01
00004064 3D40 FDEC move.w [A6 - 0x214], D0
00004068 3D40 FDEA move.w [A6 - 0x216], D0
0000406C 102E FDD4 move.b D0, [A6 - 0x22C]
00004070 4880 ext.w D0
00004072 5340 subq.w D0, 1
00004074 D16E FDD2 add.w [A6 - 0x22E], D0
00004078 6000 00AE bra +0xB0 /* 00004128 */
0000407C 082E 0003 FDF0 btst.b [A6 - 0x210], 0x3
00004082 6608 bne +0xA /* 0000408C */
00004084 7006 moveq.l D0, 0x06
00004086 3D40 FDF6 move.w [A6 - 0x20A], D0
0000408A 600C bra +0xE /* 00004098 */
label0000408C:
0000408C 4A6E FDF6 tst.w [A6 - 0x20A]
00004090 6606 bne +0x8 /* 00004098 */
00004092 7001 moveq.l D0, 0x01
00004094 3D40 FDF6 move.w [A6 - 0x20A], D0
label00004098:
00004098 3007 move.w D0, D7
0000409A 5540 subq.w D0, 2
0000409C 1D40 FDF3 move.b [A6 - 0x20D], D0
000040A0 302E FDF6 move.w D0, [A6 - 0x20A]
000040A4 3D40 FDEE move.w [A6 - 0x212], D0
000040A8 2F2E 0010 move.l -[A7], [A6 + 0x10]
000040AC 486E FDD0 pea.l [A6 - 0x230]
000040B0 3F00 move.w -[A7], D0
000040B2 4267 clr.w -[A7]
000040B4 4EBA 03B2 jsr [PC + 0x3B2 /* 00004468 */]
000040B8 4FEF 000C lea.l A7, [A7 + 0xC]
000040BC 7001 moveq.l D0, 0x01
000040BE 3D40 FDEC move.w [A6 - 0x214], D0
000040C2 3D40 FDEA move.w [A6 - 0x216], D0
000040C6 102E FDD4 move.b D0, [A6 - 0x22C]
000040CA 4880 ext.w D0
000040CC 5340 subq.w D0, 1
000040CE D16E FDD2 add.w [A6 - 0x22E], D0
000040D2 0C6E FFFC FDD2 cmpi.w [A6 - 0x22E], 0xFFFC
000040D8 6D24 blt +0x26 /* 000040FE */
000040DA 302E FDD2 move.w D0, [A6 - 0x22E]
000040DE B06E FDF6 cmp.w D0, [A6 - 0x20A]
000040E2 6C1A bge +0x1C /* 000040FE */
000040E4 422E FDF3 clr.b [A6 - 0x20D]
000040E8 302E FDD2 move.w D0, [A6 - 0x22E]
000040EC D16E FDEC add.w [A6 - 0x214], D0
000040F0 0C6E 0001 FDEC cmpi.w [A6 - 0x214], 0x1
000040F6 6C06 bge +0x8 /* 000040FE */
000040F8 3D6E FDEC FDEA move.w [A6 - 0x216], [A6 - 0x214]
label000040FE:
000040FE 082E 0005 FDF0 btst.b [A6 - 0x210], 0x5
00004104 6622 bne +0x24 /* 00004128 */
00004106 102E FDD4 move.b D0, [A6 - 0x22C]
0000410A 4880 ext.w D0
0000410C B06E FDEE cmp.w D0, [A6 - 0x212]
00004110 6C16 bge +0x18 /* 00004128 */
00004112 102E FDD4 move.b D0, [A6 - 0x22C]
00004116 4880 ext.w D0
00004118 3D40 FDEE move.w [A6 - 0x212], D0
0000411C B06E FDEC cmp.w D0, [A6 - 0x214]
00004120 6C06 bge +0x8 /* 00004128 */
00004122 3D6E FDEC FDEE move.w [A6 - 0x212], [A6 - 0x214]
label00004128:
00004128 0C2E 0039 FDD5 cmpi.b [A6 - 0x22B], 0x39 /* '9' */
0000412E 6F18 ble +0x1A /* 00004148 */
00004130 422E FDF3 clr.b [A6 - 0x20D]
00004134 426E FDEC clr.w [A6 - 0x214]
00004138 7001 moveq.l D0, 0x01
0000413A 3D40 FDEA move.w [A6 - 0x216], D0
0000413E 102E FDD4 move.b D0, [A6 - 0x22C]
00004142 4880 ext.w D0
00004144 3D40 FDEE move.w [A6 - 0x212], D0
label00004148:
00004148 7C00 moveq.l D6, 0x00
0000414A 4A2E FDF3 tst.b [A6 - 0x20D]
0000414E 6700 006A beq +0x6C /* 000041BA */
00004152 4A6E FDD2 tst.w [A6 - 0x22E]
00004156 6C0A bge +0xC /* 00004162 */
00004158 302E FDD2 move.w D0, [A6 - 0x22E]
0000415C 4440 neg.w D0
0000415E 48C0 ext.l D0
00004160 6004 bra +0x6 /* 00004166 */
label00004162:
00004162 302E FDD2 move.w D0, [A6 - 0x22E]
label00004166:
00004166 48C0 ext.l D0
00004168 2600 move.l D3, D0
0000416A 6022 bra +0x24 /* 0000418E */
label0000416C:
0000416C 538C subq.l A4, 1
0000416E 4878 000A push.l 0xA /* '\n' */
00004172 2F03 move.l -[A7], D3
00004174 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00004178 0680 0000 0030 addi.l D0, 0x30 /* '0' */
0000417E 1880 move.b [A4], D0
00004180 4878 000A push.l 0xA /* '\n' */
00004184 2F03 move.l -[A7], D3
00004186 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
0000418A 2600 move.l D3, D0
0000418C 5246 addq.w D6, 1
label0000418E:
0000418E 4A83 tst.l D3
00004190 66DA bne -0x24 /* 0000416C */
00004192 6008 bra +0xA /* 0000419C */
label00004194:
00004194 538C subq.l A4, 1
00004196 7030 moveq.l D0, 0x30
00004198 1880 move.b [A4], D0
0000419A 5246 addq.w D6, 1
label0000419C:
0000419C 0C46 0002 cmpi.w D6, 0x2
000041A0 6DF2 blt -0xC /* 00004194 */
000041A2 538C subq.l A4, 1
000041A4 4A6E FDD2 tst.w [A6 - 0x22E]
000041A8 6D04 blt +0x6 /* 000041AE */
000041AA 702B moveq.l D0, 0x2B
000041AC 6002 bra +0x4 /* 000041B0 */
label000041AE:
000041AE 702D moveq.l D0, 0x2D
label000041B0:
000041B0 1880 move.b [A4], D0
000041B2 538C subq.l A4, 1
000041B4 18AE FDF3 move.b [A4], [A6 - 0x20D]
000041B8 5446 addq.w D6, 2
label000041BA:
000041BA 3A2E FDEE move.w D5, [A6 - 0x212]
000041BE BA6E FDEC cmp.w D5, [A6 - 0x214]
000041C2 660C bne +0xE /* 000041D0 */
000041C4 082E 0005 FDF0 btst.b [A6 - 0x210], 0x5
000041CA 6604 bne +0x6 /* 000041D0 */
000041CC 526E FDEC addq.w [A6 - 0x214], 1
label000041D0:
000041D0 BA6E FDEC cmp.w D5, [A6 - 0x214]
000041D4 6608 bne +0xA /* 000041DE */
000041D6 538C subq.l A4, 1
000041D8 702E moveq.l D0, 0x2E
000041DA 1880 move.b [A4], D0
000041DC 5246 addq.w D6, 1
label000041DE:
000041DE 538C subq.l A4, 1
000041E0 4A45 tst.w D5
000041E2 6F18 ble +0x1A /* 000041FC */
000041E4 102E FDD4 move.b D0, [A6 - 0x22C]
000041E8 4880 ext.w D0
000041EA BA40 cmp.w D5, D0
000041EC 6E0E bgt +0x10 /* 000041FC */
000041EE 3045 movea.w A0, D5
000041F0 D1CE add.l A0, A6
000041F2 1028 FDD4 move.b D0, [A0 - 0x22C]
000041F6 4880 ext.w D0
000041F8 48C0 ext.l D0
000041FA 6002 bra +0x4 /* 000041FE */
label000041FC:
000041FC 7030 moveq.l D0, 0x30
label000041FE:
000041FE 1880 move.b [A4], D0
00004200 5345 subq.w D5, 1
00004202 BA6E FDEA cmp.w D5, [A6 - 0x216]
00004206 6CC8 bge -0x36 /* 000041D0 */
00004208 302E FDEE move.w D0, [A6 - 0x212]
0000420C 9045 sub.w D0, D5
0000420E DC40 add.w D6, D0
00004210 4A2E FDD0 tst.b [A6 - 0x230]
00004214 6708 beq +0xA /* 0000421E */
00004216 702D moveq.l D0, 0x2D
00004218 1D40 FDF2 move.b [A6 - 0x20E], D0
0000421C 600E bra +0x10 /* 0000422C */
label0000421E:
0000421E 082E 0006 FDF0 btst.b [A6 - 0x210], 0x6
00004224 6706 beq +0x8 /* 0000422C */
00004226 702B moveq.l D0, 0x2B
00004228 1D40 FDF2 move.b [A6 - 0x20E], D0
label0000422C:
0000422C 082E 0004 FDF0 btst.b [A6 - 0x210], 0x4
00004232 671A beq +0x1C /* 0000424E */
00004234 3A2E FDF4 move.w D5, [A6 - 0x20C]
00004238 4A2E FDF2 tst.b [A6 - 0x20E]
0000423C 670C beq +0xE /* 0000424A */
0000423E 5345 subq.w D5, 1
00004240 6008 bra +0xA /* 0000424A */
label00004242:
00004242 538C subq.l A4, 1
00004244 7030 moveq.l D0, 0x30
00004246 1880 move.b [A4], D0
00004248 5246 addq.w D6, 1
label0000424A:
0000424A BC45 cmp.w D6, D5
0000424C 6DF4 blt -0xA /* 00004242 */
label0000424E:
0000424E 4A2E FDF2 tst.b [A6 - 0x20E]
00004252 6708 beq +0xA /* 0000425C */
00004254 538C subq.l A4, 1
00004256 18AE FDF2 move.b [A4], [A6 - 0x20E]
0000425A 5246 addq.w D6, 1
label0000425C:
0000425C 206E 0010 movea.l A0, [A6 + 0x10]
00004260 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
00004268 6000 010C bra +0x10E /* 00004376 */
0000426C 538C subq.l A4, 1
0000426E 206E 0010 movea.l A0, [A6 + 0x10]
00004272 54AE 0010 addq.l [A6 + 0x10], 2
00004276 18A8 0001 move.b [A4], [A0 + 0x1]
0000427A 7C01 moveq.l D6, 0x01
0000427C 6000 00F8 bra +0xFA /* 00004376 */
00004280 206E 0010 movea.l A0, [A6 + 0x10]
00004284 58AE 0010 addq.l [A6 + 0x10], 4
00004288 2850 movea.l A4, [A0]
0000428A 082E 0005 FDF0 btst.b [A6 - 0x210], 0x5
00004290 6724 beq +0x26 /* 000042B6 */
00004292 41D4 lea.l A0, [A4]
00004294 528C addq.l A4, 1
00004296 7000 moveq.l D0, 0x00
00004298 1010 move.b D0, [A0]
0000429A 3C00 move.w D6, D0
0000429C 082E 0003 FDF0 btst.b [A6 - 0x210], 0x3
000042A2 6700 00D2 beq +0xD4 /* 00004376 */
000042A6 BC6E FDF6 cmp.w D6, [A6 - 0x20A]
000042AA 6F00 00CA ble +0xCC /* 00004376 */
000042AE 3C2E FDF6 move.w D6, [A6 - 0x20A]
000042B2 6000 00C2 bra +0xC4 /* 00004376 */
label000042B6:
000042B6 082E 0003 FDF0 btst.b [A6 - 0x210], 0x3
000042BC 660E bne +0x10 /* 000042CC */
000042BE 2F0C move.l -[A7], A4
000042C0 4EBA 1282 jsr [PC + 0x1282 /* 00005544 */]
000042C4 588F addq.l A7, 4
000042C6 3C00 move.w D6, D0
000042C8 6000 00AC bra +0xAE /* 00004376 */
label000042CC:
000042CC 306E FDF6 movea.w A0, [A6 - 0x20A]
000042D0 2F08 move.l -[A7], A0
000042D2 4267 clr.w -[A7]
000042D4 2F0C move.l -[A7], A4
000042D6 4EBA F840 jsr [PC - 0x7C0 /* 00003B18 */]
000042DA 4FEF 000A lea.l A7, [A7 + 0xA]
000042DE 2D40 FDF8 move.l [A6 - 0x208], D0
000042E2 4A80 tst.l D0
000042E4 670C beq +0xE /* 000042F2 */
000042E6 202E FDF8 move.l D0, [A6 - 0x208]
000042EA 908C sub.l D0, A4
000042EC 3C00 move.w D6, D0
000042EE 6000 0086 bra +0x88 /* 00004376 */
label000042F2:
000042F2 3C2E FDF6 move.w D6, [A6 - 0x20A]
000042F6 6000 007E bra +0x80 /* 00004376 */
000042FA 206E 0010 movea.l A0, [A6 + 0x10]
000042FE 58AE 0010 addq.l [A6 + 0x10], 4
00004302 2850 movea.l A4, [A0]
00004304 082E 0002 FDF0 btst.b [A6 - 0x210], 0x2
0000430A 6706 beq +0x8 /* 00004312 */
0000430C 3884 move.w [A4], D4
0000430E 6000 013A bra +0x13C /* 0000444A */
label00004312:
00004312 082E 0001 FDF0 btst.b [A6 - 0x210], 0x1
00004318 6708 beq +0xA /* 00004322 */
0000431A 3044 movea.w A0, D4
0000431C 2888 move.l [A4], A0
0000431E 6000 012A bra +0x12C /* 0000444A */
label00004322:
00004322 3884 move.w [A4], D4
00004324 6000 0124 bra +0x126 /* 0000444A */
00004328 0C47 0025 cmpi.w D7, 0x25 /* '%' */
0000432C 6600 0130 bne +0x132 /* 0000445E */
label00004330:
00004330 206E 0008 movea.l A0, [A6 + 0x8]
00004334 2028 0012 move.l D0, [A0 + 0x12]
00004338 53A8 0012 subq.l [A0 + 0x12], 1
0000433C 0C80 0000 0001 cmpi.l D0, 0x1
00004342 6316 bls +0x18 /* 0000435A */
00004344 206E 0008 movea.l A0, [A6 + 0x8]
00004348 2268 000E movea.l A1, [A0 + 0xE]
0000434C 52A8 000E addq.l [A0 + 0xE], 1
00004350 1287 move.b [A1], D7
00004352 7000 moveq.l D0, 0x00
00004354 1007 move.b D0, D7
00004356 48C0 ext.l D0
00004358 600C bra +0xE /* 00004366 */
label0000435A:
0000435A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000435E 3F07 move.w -[A7], D7
00004360 4EBA C486 jsr [PC - 0x3B7A /* 000007E8 */]
00004364 5C8F addq.l A7, 6
label00004366:
00004366 4A40 tst.w D0
00004368 6C06 bge +0x8 /* 00004370 */
0000436A 70FF moveq.l D0, 0xFFFFFFFF
0000436C 6000 00F2 bra +0xF4 /* 00004460 */
label00004370:
00004370 5244 addq.w D4, 1
00004372 6000 00D6 bra +0xD8 /* 0000444A */
label00004376:
00004376 BC6E FDF4 cmp.w D6, [A6 - 0x20C]
0000437A 6C00 005C bge +0x5E /* 000043D8 */
0000437E 082E 0007 FDF0 btst.b [A6 - 0x210], 0x7
00004384 6600 0052 bne +0x54 /* 000043D8 */
label00004388:
00004388 206E 0008 movea.l A0, [A6 + 0x8]
0000438C 2028 0012 move.l D0, [A0 + 0x12]
00004390 53A8 0012 subq.l [A0 + 0x12], 1
00004394 0C80 0000 0001 cmpi.l D0, 0x1
0000439A 6318 bls +0x1A /* 000043B4 */
0000439C 206E 0008 movea.l A0, [A6 + 0x8]
000043A0 2268 000E movea.l A1, [A0 + 0xE]
000043A4 52A8 000E addq.l [A0 + 0xE], 1
000043A8 7020 moveq.l D0, 0x20
000043AA 1280 move.b [A1], D0
000043AC 0240 00FF andi.w D0, 0xFF
000043B0 48C0 ext.l D0
000043B2 600E bra +0x10 /* 000043C2 */
label000043B4:
000043B4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000043B8 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
000043BC 4EBA C42A jsr [PC - 0x3BD6 /* 000007E8 */]
000043C0 5C8F addq.l A7, 6
label000043C2:
000043C2 4A40 tst.w D0
000043C4 6C06 bge +0x8 /* 000043CC */
000043C6 70FF moveq.l D0, 0xFFFFFFFF
000043C8 6000 0096 bra +0x98 /* 00004460 */
label000043CC:
000043CC 5244 addq.w D4, 1
000043CE 536E FDF4 subq.w [A6 - 0x20C], 1
000043D2 BC6E FDF4 cmp.w D6, [A6 - 0x20C]
000043D6 6DB0 blt -0x4E /* 00004388 */
label000043D8:
000043D8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000043DC 3046 movea.w A0, D6
000043DE 2F08 move.l -[A7], A0
000043E0 4878 0001 push.l 0x1
000043E4 2F0C move.l -[A7], A4
000043E6 4EBA F1BA jsr [PC - 0xE46 /* 000035A2 */]
000043EA 4FEF 0010 lea.l A7, [A7 + 0x10]
000043EE 3046 movea.w A0, D6
000043F0 B1C0 cmpa.l A0, D0
000043F2 6706 beq +0x8 /* 000043FA */
000043F4 70FF moveq.l D0, 0xFFFFFFFF
000043F6 6000 0068 bra +0x6A /* 00004460 */
label000043FA:
000043FA D846 add.w D4, D6
000043FC 6046 bra +0x48 /* 00004444 */
label000043FE:
000043FE 206E 0008 movea.l A0, [A6 + 0x8]
00004402 2028 0012 move.l D0, [A0 + 0x12]
00004406 53A8 0012 subq.l [A0 + 0x12], 1
0000440A 0C80 0000 0001 cmpi.l D0, 0x1
00004410 6318 bls +0x1A /* 0000442A */
00004412 206E 0008 movea.l A0, [A6 + 0x8]
00004416 2268 000E movea.l A1, [A0 + 0xE]
0000441A 52A8 000E addq.l [A0 + 0xE], 1
0000441E 7020 moveq.l D0, 0x20
00004420 1280 move.b [A1], D0
00004422 0240 00FF andi.w D0, 0xFF
00004426 48C0 ext.l D0
00004428 600E bra +0x10 /* 00004438 */
label0000442A:
0000442A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000442E 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00004432 4EBA C3B4 jsr [PC - 0x3C4C /* 000007E8 */]
00004436 5C8F addq.l A7, 6
label00004438:
00004438 4A40 tst.w D0
0000443A 6C04 bge +0x6 /* 00004440 */
0000443C 70FF moveq.l D0, 0xFFFFFFFF
0000443E 6020 bra +0x22 /* 00004460 */
label00004440:
00004440 5244 addq.w D4, 1
00004442 5246 addq.w D6, 1
label00004444:
00004444 BC6E FDF4 cmp.w D6, [A6 - 0x20C]
00004448 6DB4 blt -0x4A /* 000043FE */
label0000444A:
0000444A 52AE 000C addq.l [A6 + 0xC], 1
0000444E 206E 000C movea.l A0, [A6 + 0xC]
00004452 1010 move.b D0, [A0]
00004454 4880 ext.w D0
00004456 3E00 move.w D7, D0
label00004458:
00004458 4A47 tst.w D7
0000445A 6600 F70A bne -0x8F4 /* 00003B66 */
label0000445E:
0000445E 3004 move.w D0, D4
label00004460:
00004460 4CDF 10F8 movem.l D3,D4,D5,D6,D7,A4, [A7]+
00004464 4E5E unlink A6
00004466 4E75 rts
fn00004468:
00004468 4E56 FFEE link A6, -0x0012
0000446C 2F0C move.l -[A7], A4
0000446E 286E 000C movea.l A4, [A6 + 0xC]
00004472 206E 0010 movea.l A0, [A6 + 0x10]
00004476 43EE FFEE lea.l A1, [A6 - 0x12]
0000447A 22D8 move.l [A1]+, [A0]+
0000447C 22D8 move.l [A1]+, [A0]+
0000447E 22D8 move.l [A1]+, [A0]+
00004480 3D6E FFEE FFF0 move.w [A6 - 0x10], [A6 - 0x12]
00004486 41EE FFF0 lea.l A0, [A6 - 0x10]
0000448A 2D48 0010 move.l [A6 + 0x10], A0
0000448E 0C6E 0014 000A cmpi.w [A6 + 0xA], 0x14
00004494 6D06 blt +0x8 /* 0000449C */
00004496 7013 moveq.l D0, 0x13
00004498 3D40 000A move.w [A6 + 0xA], D0
label0000449C:
0000449C 1D6E 0009 FFFC move.b [A6 - 0x4], [A6 + 0x9]
000044A2 3D6E 000A FFFE move.w [A6 - 0x2], [A6 + 0xA]
000044A8 486E FFFC pea.l [A6 - 0x4]
000044AC 2F2E 0010 move.l -[A7], [A6 + 0x10]
000044B0 2F0C move.l -[A7], A4
000044B2 3F3C 000B move.w -[A7], 0xB
000044B6 A9EB syscall Pack4/FP68K
000044B8 0C2C 003F 0005 cmpi.b [A4 + 0x5], 0x3F /* '?' */
000044BE 661A bne +0x1C /* 000044DA */
000044C0 422E FFFC clr.b [A6 - 0x4]
000044C4 7013 moveq.l D0, 0x13
000044C6 3D40 FFFE move.w [A6 - 0x2], D0
000044CA 486E FFFC pea.l [A6 - 0x4]
000044CE 2F2E 0010 move.l -[A7], [A6 + 0x10]
000044D2 2F0C move.l -[A7], A4
000044D4 3F3C 000B move.w -[A7], 0xB
000044D8 A9EB syscall Pack4/FP68K
label000044DA:
000044DA 102C 0004 move.b D0, [A4 + 0x4]
000044DE 4880 ext.w D0
000044E0 3D40 FFFA move.w [A6 - 0x6], D0
000044E4 6008 bra +0xA /* 000044EE */
label000044E6:
000044E6 526C 0002 addq.w [A4 + 0x2], 1
000044EA 536E FFFA subq.w [A6 - 0x6], 1
label000044EE:
000044EE 0C6E 0001 FFFA cmpi.w [A6 - 0x6], 0x1
000044F4 6F0E ble +0x10 /* 00004504 */
000044F6 306E FFFA movea.w A0, [A6 - 0x6]
000044FA D1CC add.l A0, A4
000044FC 0C28 0030 0004 cmpi.b [A0 + 0x4], 0x30 /* '0' */
00004502 67E2 beq -0x1C /* 000044E6 */
label00004504:
00004504 196E FFFB 0004 move.b [A4 + 0x4], [A6 - 0x5]
0000450A 0C2C 0030 0005 cmpi.b [A4 + 0x5], 0x30 /* '0' */
00004510 6608 bne +0xA /* 0000451A */
00004512 4214 clr.b [A4]
00004514 426C 0002 clr.w [A4 + 0x2]
00004518 6036 bra +0x38 /* 00004550 */
label0000451A:
0000451A 0C2C 0049 0005 cmpi.b [A4 + 0x5], 0x49 /* 'I' */
00004520 6614 bne +0x16 /* 00004536 */
00004522 7003 moveq.l D0, 0x03
00004524 1940 0004 move.b [A4 + 0x4], D0
00004528 704E moveq.l D0, 0x4E
0000452A 1940 0006 move.b [A4 + 0x6], D0
0000452E 7046 moveq.l D0, 0x46
00004530 1940 0007 move.b [A4 + 0x7], D0
00004534 601A bra +0x1C /* 00004550 */
label00004536:
00004536 0C2C 004E 0005 cmpi.b [A4 + 0x5], 0x4E /* 'N' */
0000453C 6612 bne +0x14 /* 00004550 */
0000453E 7005 moveq.l D0, 0x05
00004540 1940 0004 move.b [A4 + 0x4], D0
00004544 7041 moveq.l D0, 0x41
00004546 1940 0006 move.b [A4 + 0x6], D0
0000454A 704E moveq.l D0, 0x4E
0000454C 1940 0007 move.b [A4 + 0x7], D0
label00004550:
00004550 285F movea.l A4, [A7]+
00004552 4E5E unlink A6
00004554 4E75 rts
fn00004556:
00004556 4E56 0000 link A6, 0
0000455A 48E7 0018 movem.l -[A7], A3,A4
0000455E 286E 0008 movea.l A4, [A6 + 0x8]
00004562 266E 000C movea.l A3, [A6 + 0xC]
00004566 6042 bra +0x44 /* 000045AA */
label00004568:
00004568 202B 0012 move.l D0, [A3 + 0x12]
0000456C 53AB 0012 subq.l [A3 + 0x12], 1
00004570 0C80 0000 0001 cmpi.l D0, 0x1
00004576 6318 bls +0x1A /* 00004590 */
00004578 206B 000E movea.l A0, [A3 + 0xE]
0000457C 52AB 000E addq.l [A3 + 0xE], 1
00004580 43D4 lea.l A1, [A4]
00004582 528C addq.l A4, 1
00004584 1011 move.b D0, [A1]
00004586 1080 move.b [A0], D0
00004588 0240 00FF andi.w D0, 0xFF
0000458C 48C0 ext.l D0
0000458E 6012 bra +0x14 /* 000045A2 */
label00004590:
00004590 41D4 lea.l A0, [A4]
00004592 528C addq.l A4, 1
00004594 2F0B move.l -[A7], A3
00004596 1010 move.b D0, [A0]
00004598 4880 ext.w D0
0000459A 3F00 move.w -[A7], D0
0000459C 4EBA C24A jsr [PC - 0x3DB6 /* 000007E8 */]
000045A0 5C8F addq.l A7, 6
label000045A2:
000045A2 4A40 tst.w D0
000045A4 6C04 bge +0x6 /* 000045AA */
000045A6 70FF moveq.l D0, 0xFFFFFFFF
000045A8 6006 bra +0x8 /* 000045B0 */
label000045AA:
000045AA 4A14 tst.b [A4]
000045AC 66BA bne -0x44 /* 00004568 */
000045AE 7000 moveq.l D0, 0x00
label000045B0:
000045B0 4CDF 1800 movem.l A3,A4, [A7]+
000045B4 4E5E unlink A6
000045B6 4E75 rts
export_83:
000045B8 4E56 0000 link A6, 0
000045BC 486D FD54 pea.l [A5 - 0x2AC]
000045C0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000045C4 4EBA FF90 jsr [PC - 0x70 /* 00004556 */]
000045C8 508F addq.l A7, 8
000045CA 4A40 tst.w D0
000045CC 6C04 bge +0x6 /* 000045D2 */
000045CE 70FF moveq.l D0, 0xFFFFFFFF
000045D0 6032 bra +0x34 /* 00004604 */
label000045D2:
000045D2 202D FD66 move.l D0, [A5 - 0x29A]
000045D6 53AD FD66 subq.l [A5 - 0x29A], 1
000045DA 0C80 0000 0001 cmpi.l D0, 0x1
000045E0 6314 bls +0x16 /* 000045F6 */
000045E2 206D FD62 movea.l A0, [A5 - 0x29E]
000045E6 52AD FD62 addq.l [A5 - 0x29E], 1
000045EA 700A moveq.l D0, 0x0A
000045EC 1080 move.b [A0], D0
000045EE 0240 00FF andi.w D0, 0xFF
000045F2 48C0 ext.l D0
000045F4 600E bra +0x10 /* 00004604 */
label000045F6:
000045F6 486D FD54 pea.l [A5 - 0x2AC]
000045FA 3F3C 000A move.w -[A7], 0xA /* '\n' */
000045FE 4EBA C1E8 jsr [PC - 0x3E18 /* 000007E8 */]
00004602 5C8F addq.l A7, 6
label00004604:
00004604 4E5E unlink A6
00004606 4E75 rts
fn00004608:
00004608 4E56 0000 link A6, 0
0000460C 2F0C move.l -[A7], A4
0000460E 286E 000A movea.l A4, [A6 + 0xA]
00004612 202C 0012 move.l D0, [A4 + 0x12]
00004616 53AC 0012 subq.l [A4 + 0x12], 1
0000461A 0C80 0000 0001 cmpi.l D0, 0x1
00004620 6316 bls +0x18 /* 00004638 */
00004622 206C 000E movea.l A0, [A4 + 0xE]
00004626 52AC 000E addq.l [A4 + 0xE], 1
0000462A 102E 0009 move.b D0, [A6 + 0x9]
0000462E 1080 move.b [A0], D0
00004630 0240 00FF andi.w D0, 0xFF
00004634 48C0 ext.l D0
00004636 600C bra +0xE /* 00004644 */
label00004638:
00004638 2F0C move.l -[A7], A4
0000463A 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000463E 4EBA C1A8 jsr [PC - 0x3E58 /* 000007E8 */]
00004642 5C8F addq.l A7, 6
label00004644:
00004644 285F movea.l A4, [A7]+
00004646 4E5E unlink A6
00004648 4E75 rts
0000464A 4E56 0000 link A6, 0
0000464E 2F2E 000A move.l -[A7], [A6 + 0xA]
00004652 3F2E 0008 move.w -[A7], [A6 + 0x8]
00004656 4EBA FFB0 jsr [PC - 0x50 /* 00004608 */]
0000465A 5C8F addq.l A7, 6
0000465C 4E5E unlink A6
0000465E 4E75 rts
00004660 4E56 0000 link A6, 0
00004664 486D FD54 pea.l [A5 - 0x2AC]
00004668 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000466C 4EBA FF9A jsr [PC - 0x66 /* 00004608 */]
00004670 5C8F addq.l A7, 6
00004672 4E5E unlink A6
00004674 4E75 rts
fn00004676:
00004676 4E56 FFD8 link A6, -0x0028
0000467A 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
0000467E 426E FFFE clr.w [A6 - 0x2]
00004682 426E FFFC clr.w [A6 - 0x4]
00004686 426E FFFA clr.w [A6 - 0x6]
0000468A 206E 000C movea.l A0, [A6 + 0xC]
0000468E 1010 move.b D0, [A0]
00004690 4880 ext.w D0
00004692 3E00 move.w D7, D0
00004694 6000 0950 bra +0x952 /* 00004FE6 */
label00004698:
00004698 0C47 0025 cmpi.w D7, 0x25 /* '%' */
0000469C 6600 0390 bne +0x392 /* 00004A2E */
000046A0 2D6D FF94 FFF0 move.l [A6 - 0x10], [A5 - 0x6C]
000046A6 52AE 000C addq.l [A6 + 0xC], 1
000046AA 206E 000C movea.l A0, [A6 + 0xC]
000046AE 1010 move.b D0, [A0]
000046B0 4880 ext.w D0
000046B2 3E00 move.w D7, D0
000046B4 0C47 002A cmpi.w D7, 0x2A /* '*' */
000046B8 6614 bne +0x16 /* 000046CE */
000046BA 08EE 0007 FFF0 bset.b [A6 - 0x10], 0x7
000046C0 52AE 000C addq.l [A6 + 0xC], 1
000046C4 206E 000C movea.l A0, [A6 + 0xC]
000046C8 1010 move.b D0, [A0]
000046CA 4880 ext.w D0
000046CC 3E00 move.w D7, D0
label000046CE:
000046CE 7000 moveq.l D0, 0x00
000046D0 1007 move.b D0, D7
000046D2 41ED FBFA lea.l A0, [A5 - 0x406]
000046D6 D0C0 add.w A0, D0
000046D8 1010 move.b D0, [A0]
000046DA 4880 ext.w D0
000046DC 0800 0004 btst.b D0, 0x4
000046E0 6742 beq +0x44 /* 00004724 */
000046E2 08EE 0006 FFF0 bset.b [A6 - 0x10], 0x6
label000046E8:
000046E8 302E FFF2 move.w D0, [A6 - 0xE]
000046EC C1FC 000A muls.w D0, 0xA /* '\n' */
000046F0 D047 add.w D0, D7
000046F2 0640 FFD0 addi.w D0, 0xFFD0
000046F6 3D40 FFF2 move.w [A6 - 0xE], D0
000046FA 52AE 000C addq.l [A6 + 0xC], 1
000046FE 206E 000C movea.l A0, [A6 + 0xC]
00004702 1010 move.b D0, [A0]
00004704 4880 ext.w D0
00004706 3E00 move.w D7, D0
00004708 7000 moveq.l D0, 0x00
0000470A 1007 move.b D0, D7
0000470C 41ED FBFA lea.l A0, [A5 - 0x406]
00004710 D0C0 add.w A0, D0
00004712 1010 move.b D0, [A0]
00004714 4880 ext.w D0
00004716 0800 0004 btst.b D0, 0x4
0000471A 66CC bne -0x32 /* 000046E8 */
0000471C 4A6E FFF2 tst.w [A6 - 0xE]
00004720 6F00 08CA ble +0x8CC /* 00004FEC */
label00004724:
00004724 3007 move.w D0, D7
00004726 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
0000472A 003F 0078 ori.b <<invalid special address>>, 0x78 /* 'x' */
0000472E 02F8 .incomplete
00004730 00BC 02F4 02F2 02F0 02EE ori.l 0x2F002EE, 0x2F402F2
0000473A 02EC .incomplete
0000473C 00EC .incomplete
0000473E 02E8 .incomplete
00004740 00E8 .incomplete
00004742 02E4 .incomplete
00004744 02E2 .incomplete
00004746 02E0 .incomplete
00004748 02DE .incomplete
0000474A 008A 02DA 02D8 ori.l A2, 0x2DA02D8
00004750 02D6 .incomplete
00004752 02D4 .incomplete
00004754 02D2 .incomplete
00004756 02D0 .incomplete
00004758 02CE .incomplete
0000475A 02CC .incomplete
0000475C 02CA .incomplete
0000475E 02C8 .incomplete
00004760 02C6 .incomplete
00004762 00C0 .incomplete
00004764 02C2 .incomplete
00004766 02C0 .incomplete
00004768 0128 02BC btst [A0 + 0x2BC], D0
0000476C 02BA 02B8 02B6 02B4 andi.l [PC + 0x2B4 /* 00004A22, value 0x6000051C, cstring "`" */], 0x2B802B6
00004774 02B2 02B0 0216 008A andi.l [A2 + D0.w - 0x118], 0x2B00216
0000477C 00AC 00AA 00A8 0022 ori.l [A4 + 0x22], 0xAA00A8
00004784 0086 02A0 029E ori.l D6, 0x2A0029E
0000478A 0032 029A 028E ori.b [A2 + D0.w * 2 - 0x114], 0x9A
00004790 0080 008A 0292 ori.l D0, 0x8A0292
00004796 0290 00A0 028C andi.l [A0], 0xA0028C
0000479C 007A 0288 0286 ori.w [PC + 0x286 /* 00004A24, value 0x51C */], 0x288
000047A2 0080 08EE 0007 ori.l D0, 0x8EE0007
000047A8 FFF1 .invalid <<F/7/7>>
000047AA 52AE 000C addq.l [A6 + 0xC], 1
000047AE 206E 000C movea.l A0, [A6 + 0xC]
000047B2 1010 move.b D0, [A0]
000047B4 4880 ext.w D0
000047B6 3E00 move.w D7, D0
000047B8 6000 FF6A bra -0x94 /* 00004724 */
000047BC 08EE 0006 FFF1 bset.b [A6 - 0xF], 0x6
000047C2 52AE 000C addq.l [A6 + 0xC], 1
000047C6 206E 000C movea.l A0, [A6 + 0xC]
000047CA 1010 move.b D0, [A0]
000047CC 4880 ext.w D0
000047CE 3E00 move.w D7, D0
000047D0 6000 FF52 bra -0xAC /* 00004724 */
000047D4 08EE 0005 FFF1 bset.b [A6 - 0xF], 0x5
000047DA 52AE 000C addq.l [A6 + 0xC], 1
000047DE 206E 000C movea.l A0, [A6 + 0xC]
000047E2 1010 move.b D0, [A0]
000047E4 4880 ext.w D0
000047E6 3E00 move.w D7, D0
000047E8 6000 FF3A bra -0xC4 /* 00004724 */
000047EC 08EE 0005 FFF0 bset.b [A6 - 0x10], 0x5
000047F2 52AE 000C addq.l [A6 + 0xC], 1
000047F6 206E 000C movea.l A0, [A6 + 0xC]
000047FA 1010 move.b D0, [A0]
000047FC 4880 ext.w D0
000047FE 3E00 move.w D7, D0
00004800 6000 FF22 bra -0xDC /* 00004724 */
00004804 7C0A moveq.l D6, 0x0A
00004806 6000 03A8 bra +0x3AA /* 00004BB0 */
0000480A 7C00 moveq.l D6, 0x00
0000480C 6000 03A2 bra +0x3A4 /* 00004BB0 */
00004810 7C08 moveq.l D6, 0x08
00004812 6000 0396 bra +0x398 /* 00004BAA */
00004816 7C0A moveq.l D6, 0x0A
00004818 6000 0390 bra +0x392 /* 00004BAA */
0000481C 08EE 0006 FFF1 bset.b [A6 - 0xF], 0x6
00004822 7C10 moveq.l D6, 0x10
00004824 6000 0384 bra +0x386 /* 00004BAA */
00004828 08EE 0001 FFF0 bset.b [A6 - 0x10], 0x1
0000482E 70FF moveq.l D0, 0xFFFFFFFF
00004830 3D40 FFF6 move.w [A6 - 0xA], D0
00004834 6000 0390 bra +0x392 /* 00004BC6 */
label00004838:
00004838 206E 0008 movea.l A0, [A6 + 0x8]
0000483C 2028 0012 move.l D0, [A0 + 0x12]
00004840 53A8 0012 subq.l [A0 + 0x12], 1
00004844 4A80 tst.l D0
00004846 6714 beq +0x16 /* 0000485C */
00004848 206E 0008 movea.l A0, [A6 + 0x8]
0000484C 2268 000E movea.l A1, [A0 + 0xE]
00004850 52A8 000E addq.l [A0 + 0xE], 1
00004854 7000 moveq.l D0, 0x00
00004856 1011 move.b D0, [A1]
00004858 48C0 ext.l D0
0000485A 600A bra +0xC /* 00004866 */
label0000485C:
0000485C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004860 4EBA BF20 jsr [PC - 0x40E0 /* 00000782 */]
00004864 588F addq.l A7, 4
label00004866:
00004866 3E00 move.w D7, D0
00004868 526E FFFA addq.w [A6 - 0x6], 1
0000486C 7000 moveq.l D0, 0x00
0000486E 1007 move.b D0, D7
00004870 41ED FBFA lea.l A0, [A5 - 0x406]
00004874 D0C0 add.w A0, D0
00004876 1010 move.b D0, [A0]
00004878 4880 ext.w D0
0000487A 0240 0006 andi.w D0, 0x6
0000487E 4A40 tst.w D0
00004880 66B6 bne -0x48 /* 00004838 */
00004882 3F3C 0001 move.w -[A7], 0x1
00004886 4EBA 0780 jsr [PC + 0x780 /* 00005008 */]
0000488A 548F addq.l A7, 2
0000488C 6000 026A bra +0x26C /* 00004AF8 */
00004890 52AE 000C addq.l [A6 + 0xC], 1
00004894 206E 000C movea.l A0, [A6 + 0xC]
00004898 1010 move.b D0, [A0]
0000489A 4880 ext.w D0
0000489C 3E00 move.w D7, D0
0000489E 0C47 005E cmpi.w D7, 0x5E /* '^' */
000048A2 6614 bne +0x16 /* 000048B8 */
000048A4 08EE 0004 FFF0 bset.b [A6 - 0x10], 0x4
000048AA 52AE 000C addq.l [A6 + 0xC], 1
000048AE 206E 000C movea.l A0, [A6 + 0xC]
000048B2 1010 move.b D0, [A0]
000048B4 4880 ext.w D0
000048B6 3E00 move.w D7, D0
label000048B8:
000048B8 4267 clr.w -[A7]
000048BA 4EBA 074C jsr [PC + 0x74C /* 00005008 */]
000048BE 548F addq.l A7, 2
label000048C0:
000048C0 4A47 tst.w D7
000048C2 6700 0728 beq +0x72A /* 00004FEC */
000048C6 7000 moveq.l D0, 0x00
000048C8 1007 move.b D0, D7
000048CA 3F00 move.w -[A7], D0
000048CC 4EBA 076E jsr [PC + 0x76E /* 0000503C */]
000048D0 548F addq.l A7, 2
000048D2 52AE 000C addq.l [A6 + 0xC], 1
000048D6 206E 000C movea.l A0, [A6 + 0xC]
000048DA 1010 move.b D0, [A0]
000048DC 4880 ext.w D0
000048DE 3E00 move.w D7, D0
000048E0 0C47 005D cmpi.w D7, 0x5D /* ']' */
000048E4 6700 0064 beq +0x66 /* 0000494A */
000048E8 0C47 002D cmpi.w D7, 0x2D /* '-' */
000048EC 66D2 bne -0x2C /* 000048C0 */
000048EE 206E 000C movea.l A0, [A6 + 0xC]
000048F2 0C28 005D 0001 cmpi.b [A0 + 0x1], 0x5D /* ']' */
000048F8 67C6 beq -0x38 /* 000048C0 */
000048FA 206E 000C movea.l A0, [A6 + 0xC]
000048FE 1028 FFFF move.b D0, [A0 - 0x1]
00004902 1D40 FFF5 move.b [A6 - 0xB], D0
00004906 206E 000C movea.l A0, [A6 + 0xC]
0000490A 0240 00FF andi.w D0, 0xFF
0000490E 1228 0001 move.b D1, [A0 + 0x1]
00004912 4881 ext.w D1
00004914 B240 cmp.w D1, D0
00004916 65A8 bcs -0x56 /* 000048C0 */
00004918 52AE 000C addq.l [A6 + 0xC], 1
0000491C 206E 000C movea.l A0, [A6 + 0xC]
00004920 1010 move.b D0, [A0]
00004922 4880 ext.w D0
00004924 3E00 move.w D7, D0
00004926 6014 bra +0x16 /* 0000493C */
label00004928:
00004928 102E FFF5 move.b D0, [A6 - 0xB]
0000492C 522E FFF5 addq.b [A6 - 0xB], 1
00004930 0240 00FF andi.w D0, 0xFF
00004934 3F00 move.w -[A7], D0
00004936 4EBA 0704 jsr [PC + 0x704 /* 0000503C */]
0000493A 548F addq.l A7, 2
label0000493C:
0000493C 7000 moveq.l D0, 0x00
0000493E 102E FFF5 move.b D0, [A6 - 0xB]
00004942 B047 cmp.w D0, D7
00004944 66E2 bne -0x1C /* 00004928 */
00004946 6000 FF78 bra -0x86 /* 000048C0 */
label0000494A:
0000494A 082E 0004 FFF0 btst.b [A6 - 0x10], 0x4
00004950 6704 beq +0x6 /* 00004956 */
00004952 4EBA 0708 jsr [PC + 0x708 /* 0000505C */]
label00004956:
00004956 206E 0008 movea.l A0, [A6 + 0x8]
0000495A 2028 0012 move.l D0, [A0 + 0x12]
0000495E 53A8 0012 subq.l [A0 + 0x12], 1
00004962 4A80 tst.l D0
00004964 6714 beq +0x16 /* 0000497A */
00004966 206E 0008 movea.l A0, [A6 + 0x8]
0000496A 2268 000E movea.l A1, [A0 + 0xE]
0000496E 52A8 000E addq.l [A0 + 0xE], 1
00004972 7000 moveq.l D0, 0x00
00004974 1011 move.b D0, [A1]
00004976 48C0 ext.l D0
00004978 600A bra +0xC /* 00004984 */
label0000497A:
0000497A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000497E 4EBA BE02 jsr [PC - 0x41FE /* 00000782 */]
00004982 588F addq.l A7, 4
label00004984:
00004984 3E00 move.w D7, D0
00004986 526E FFFA addq.w [A6 - 0x6], 1
0000498A 6000 016C bra +0x16E /* 00004AF8 */
0000498E 082E 0006 FFF0 btst.b [A6 - 0x10], 0x6
00004994 6606 bne +0x8 /* 0000499C */
00004996 7001 moveq.l D0, 0x01
00004998 3D40 FFF2 move.w [A6 - 0xE], D0
label0000499C:
0000499C 082E 0007 FFF0 btst.b [A6 - 0x10], 0x7
000049A2 6600 0058 bne +0x5A /* 000049FC */
000049A6 206E 0010 movea.l A0, [A6 + 0x10]
000049AA 58AE 0010 addq.l [A6 + 0x10], 4
000049AE 2850 movea.l A4, [A0]
000049B0 604A bra +0x4C /* 000049FC */
label000049B2:
000049B2 206E 0008 movea.l A0, [A6 + 0x8]
000049B6 2028 0012 move.l D0, [A0 + 0x12]
000049BA 53A8 0012 subq.l [A0 + 0x12], 1
000049BE 4A80 tst.l D0
000049C0 6714 beq +0x16 /* 000049D6 */
000049C2 206E 0008 movea.l A0, [A6 + 0x8]
000049C6 2268 000E movea.l A1, [A0 + 0xE]
000049CA 52A8 000E addq.l [A0 + 0xE], 1
000049CE 7000 moveq.l D0, 0x00
000049D0 1011 move.b D0, [A1]
000049D2 48C0 ext.l D0
000049D4 600A bra +0xC /* 000049E0 */
label000049D6:
000049D6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000049DA 4EBA BDA6 jsr [PC - 0x425A /* 00000782 */]
000049DE 588F addq.l A7, 4
label000049E0:
000049E0 3E00 move.w D7, D0
000049E2 0C40 FFFF cmpi.w D0, 0xFFFF
000049E6 6700 0604 beq +0x606 /* 00004FEC */
000049EA 082E 0007 FFF0 btst.b [A6 - 0x10], 0x7
000049F0 6606 bne +0x8 /* 000049F8 */
000049F2 41D4 lea.l A0, [A4]
000049F4 528C addq.l A4, 1
000049F6 1087 move.b [A0], D7
label000049F8:
000049F8 526E FFFA addq.w [A6 - 0x6], 1
label000049FC:
000049FC 302E FFF2 move.w D0, [A6 - 0xE]
00004A00 536E FFF2 subq.w [A6 - 0xE], 1
00004A04 4A40 tst.w D0
00004A06 6EAA bgt -0x54 /* 000049B2 */
00004A08 082E 0007 FFF0 btst.b [A6 - 0x10], 0x7
00004A0E 6604 bne +0x6 /* 00004A14 */
00004A10 526E FFFE addq.w [A6 - 0x2], 1
label00004A14:
00004A14 526E FFFC addq.w [A6 - 0x4], 1
00004A18 6000 05BE bra +0x5C0 /* 00004FD8 */
00004A1C 306E FFFA movea.w A0, [A6 - 0x6]
00004A20 2808 move.l D4, A0
00004A22 6000 051C bra +0x51E /* 00004F40 */
00004A26 0C47 0025 cmpi.w D7, 0x25 /* '%' */
00004A2A 6600 05C0 bne +0x5C2 /* 00004FEC */
label00004A2E:
00004A2E 7000 moveq.l D0, 0x00
00004A30 1007 move.b D0, D7
00004A32 41ED FBFA lea.l A0, [A5 - 0x406]
00004A36 D0C0 add.w A0, D0
00004A38 1010 move.b D0, [A0]
00004A3A 4880 ext.w D0
00004A3C 0240 0006 andi.w D0, 0x6
00004A40 4A40 tst.w D0
00004A42 6700 0060 beq +0x62 /* 00004AA4 */
label00004A46:
00004A46 206E 0008 movea.l A0, [A6 + 0x8]
00004A4A 2028 0012 move.l D0, [A0 + 0x12]
00004A4E 53A8 0012 subq.l [A0 + 0x12], 1
00004A52 4A80 tst.l D0
00004A54 6714 beq +0x16 /* 00004A6A */
00004A56 206E 0008 movea.l A0, [A6 + 0x8]
00004A5A 2268 000E movea.l A1, [A0 + 0xE]
00004A5E 52A8 000E addq.l [A0 + 0xE], 1
00004A62 7000 moveq.l D0, 0x00
00004A64 1011 move.b D0, [A1]
00004A66 48C0 ext.l D0
00004A68 600A bra +0xC /* 00004A74 */
label00004A6A:
00004A6A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004A6E 4EBA BD12 jsr [PC - 0x42EE /* 00000782 */]
00004A72 588F addq.l A7, 4
label00004A74:
00004A74 3E00 move.w D7, D0
00004A76 526E FFFA addq.w [A6 - 0x6], 1
00004A7A 7000 moveq.l D0, 0x00
00004A7C 1007 move.b D0, D7
00004A7E 41ED FBFA lea.l A0, [A5 - 0x406]
00004A82 D0C0 add.w A0, D0
00004A84 1010 move.b D0, [A0]
00004A86 4880 ext.w D0
00004A88 0240 0006 andi.w D0, 0x6
00004A8C 4A40 tst.w D0
00004A8E 66B6 bne -0x48 /* 00004A46 */
00004A90 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004A94 3F07 move.w -[A7], D7
00004A96 4EBA 0ABA jsr [PC + 0xABA /* 00005552 */]
00004A9A 5C8F addq.l A7, 6
00004A9C 536E FFFA subq.w [A6 - 0x6], 1
00004AA0 6000 0536 bra +0x538 /* 00004FD8 */
label00004AA4:
00004AA4 206E 0008 movea.l A0, [A6 + 0x8]
00004AA8 2028 0012 move.l D0, [A0 + 0x12]
00004AAC 53A8 0012 subq.l [A0 + 0x12], 1
00004AB0 4A80 tst.l D0
00004AB2 6714 beq +0x16 /* 00004AC8 */
00004AB4 206E 0008 movea.l A0, [A6 + 0x8]
00004AB8 2268 000E movea.l A1, [A0 + 0xE]
00004ABC 52A8 000E addq.l [A0 + 0xE], 1
00004AC0 7000 moveq.l D0, 0x00
00004AC2 1011 move.b D0, [A1]
00004AC4 48C0 ext.l D0
00004AC6 600A bra +0xC /* 00004AD2 */
label00004AC8:
00004AC8 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004ACC 4EBA BCB4 jsr [PC - 0x434C /* 00000782 */]
00004AD0 588F addq.l A7, 4
label00004AD2:
00004AD2 3E00 move.w D7, D0
00004AD4 206E 000C movea.l A0, [A6 + 0xC]
00004AD8 7200 moveq.l D1, 0x00
00004ADA 1210 move.b D1, [A0]
00004ADC B041 cmp.w D0, D1
00004ADE 6710 beq +0x12 /* 00004AF0 */
00004AE0 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004AE4 3F07 move.w -[A7], D7
00004AE6 4EBA 0A6A jsr [PC + 0xA6A /* 00005552 */]
00004AEA 5C8F addq.l A7, 6
00004AEC 6000 04FE bra +0x500 /* 00004FEC */
label00004AF0:
00004AF0 526E FFFA addq.w [A6 - 0x6], 1
00004AF4 6000 04E2 bra +0x4E4 /* 00004FD8 */
label00004AF8:
00004AF8 082E 0006 FFF0 btst.b [A6 - 0x10], 0x6
00004AFE 6606 bne +0x8 /* 00004B06 */
00004B00 3D7C 7FFF FFF2 move.w [A6 - 0xE], 0x7FFF
label00004B06:
00004B06 082E 0007 FFF0 btst.b [A6 - 0x10], 0x7
00004B0C 6600 0066 bne +0x68 /* 00004B74 */
00004B10 206E 0010 movea.l A0, [A6 + 0x10]
00004B14 58AE 0010 addq.l [A6 + 0x10], 4
00004B18 2850 movea.l A4, [A0]
00004B1A 6000 0058 bra +0x5A /* 00004B74 */
label00004B1E:
00004B1E 536E FFF2 subq.w [A6 - 0xE], 1
00004B22 3F07 move.w -[A7], D7
00004B24 4EBA 054C jsr [PC + 0x54C /* 00005072 */]
00004B28 548F addq.l A7, 2
00004B2A 4A40 tst.w D0
00004B2C 674C beq +0x4E /* 00004B7A */
00004B2E 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00004B34 41D4 lea.l A0, [A4]
00004B36 528C addq.l A4, 1
00004B38 1087 move.b [A0], D7
00004B3A 4A6E FFF2 tst.w [A6 - 0xE]
00004B3E 674A beq +0x4C /* 00004B8A */
00004B40 206E 0008 movea.l A0, [A6 + 0x8]
00004B44 2028 0012 move.l D0, [A0 + 0x12]
00004B48 53A8 0012 subq.l [A0 + 0x12], 1
00004B4C 4A80 tst.l D0
00004B4E 6714 beq +0x16 /* 00004B64 */
00004B50 206E 0008 movea.l A0, [A6 + 0x8]
00004B54 2268 000E movea.l A1, [A0 + 0xE]
00004B58 52A8 000E addq.l [A0 + 0xE], 1
00004B5C 7000 moveq.l D0, 0x00
00004B5E 1011 move.b D0, [A1]
00004B60 48C0 ext.l D0
00004B62 600A bra +0xC /* 00004B6E */
label00004B64:
00004B64 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004B68 4EBA BC18 jsr [PC - 0x43E8 /* 00000782 */]
00004B6C 588F addq.l A7, 4
label00004B6E:
00004B6E 3E00 move.w D7, D0
00004B70 526E FFFA addq.w [A6 - 0x6], 1
label00004B74:
00004B74 0C47 FFFF cmpi.w D7, 0xFFFF
00004B78 66A4 bne -0x5A /* 00004B1E */
label00004B7A:
00004B7A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004B7E 3F07 move.w -[A7], D7
00004B80 4EBA 09D0 jsr [PC + 0x9D0 /* 00005552 */]
00004B84 5C8F addq.l A7, 6
00004B86 536E FFFA subq.w [A6 - 0x6], 1
label00004B8A:
00004B8A 082E 0003 FFF0 btst.b [A6 - 0x10], 0x3
00004B90 6700 045A beq +0x45C /* 00004FEC */
00004B94 082E 0007 FFF0 btst.b [A6 - 0x10], 0x7
00004B9A 6606 bne +0x8 /* 00004BA2 */
00004B9C 4214 clr.b [A4]
00004B9E 526E FFFE addq.w [A6 - 0x2], 1
label00004BA2:
00004BA2 526E FFFC addq.w [A6 - 0x4], 1
00004BA6 6000 0430 bra +0x432 /* 00004FD8 */
label00004BAA:
00004BAA 08EE 0002 FFF0 bset.b [A6 - 0x10], 0x2
label00004BB0:
00004BB0 082E 0005 FFF0 btst.b [A6 - 0x10], 0x5
00004BB6 670A beq +0xC /* 00004BC2 */
00004BB8 206E 0010 movea.l A0, [A6 + 0x10]
00004BBC 54AE 0010 addq.l [A6 + 0x10], 2
00004BC0 3C10 move.w D6, [A0]
label00004BC2:
00004BC2 426E FFF6 clr.w [A6 - 0xA]
label00004BC6:
00004BC6 7800 moveq.l D4, 0x00
label00004BC8:
00004BC8 206E 0008 movea.l A0, [A6 + 0x8]
00004BCC 2028 0012 move.l D0, [A0 + 0x12]
00004BD0 53A8 0012 subq.l [A0 + 0x12], 1
00004BD4 4A80 tst.l D0
00004BD6 6714 beq +0x16 /* 00004BEC */
00004BD8 206E 0008 movea.l A0, [A6 + 0x8]
00004BDC 2268 000E movea.l A1, [A0 + 0xE]
00004BE0 52A8 000E addq.l [A0 + 0xE], 1
00004BE4 7000 moveq.l D0, 0x00
00004BE6 1011 move.b D0, [A1]
00004BE8 48C0 ext.l D0
00004BEA 600A bra +0xC /* 00004BF6 */
label00004BEC:
00004BEC 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004BF0 4EBA BB90 jsr [PC - 0x4470 /* 00000782 */]
00004BF4 588F addq.l A7, 4
label00004BF6:
00004BF6 3E00 move.w D7, D0
00004BF8 526E FFFA addq.w [A6 - 0x6], 1
00004BFC 7000 moveq.l D0, 0x00
00004BFE 1007 move.b D0, D7
00004C00 41ED FBFA lea.l A0, [A5 - 0x406]
00004C04 D0C0 add.w A0, D0
00004C06 1010 move.b D0, [A0]
00004C08 4880 ext.w D0
00004C0A 0240 0006 andi.w D0, 0x6
00004C0E 4A40 tst.w D0
00004C10 66B6 bne -0x48 /* 00004BC8 */
00004C12 082E 0006 FFF0 btst.b [A6 - 0x10], 0x6
00004C18 6606 bne +0x8 /* 00004C20 */
00004C1A 3D7C 7FFF FFF2 move.w [A6 - 0xE], 0x7FFF
label00004C20:
00004C20 426E FFF8 clr.w [A6 - 0x8]
00004C24 6000 01E8 bra +0x1EA /* 00004E0E */
label00004C28:
00004C28 536E FFF2 subq.w [A6 - 0xE], 1
00004C2C 302E FFF6 move.w D0, [A6 - 0xA]
00004C30 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00004C34 FFFE .invalid <<F/7/7>>
00004C36 0003 019C ori.b D3, 0x9C
00004C3A 0116 btst [A6], D0
00004C3C 00EA .incomplete
00004C3E 0008 0024 ori.b A0, 0x24 /* '$' */
00004C42 005E 007A ori.w [A6]+, 0x7A /* 'z' */
00004C46 7001 moveq.l D0, 0x01
00004C48 3D40 FFF6 move.w [A6 - 0xA], D0
00004C4C 0C47 002D cmpi.w D7, 0x2D /* '-' */
00004C50 660A bne +0xC /* 00004C5C */
00004C52 08EE 0004 FFF0 bset.b [A6 - 0x10], 0x4
00004C58 6000 017A bra +0x17C /* 00004DD4 */
label00004C5C:
00004C5C 0C47 002B cmpi.w D7, 0x2B /* '+' */
00004C60 6700 0172 beq +0x174 /* 00004DD4 */
00004C64 7003 moveq.l D0, 0x03
00004C66 3D40 FFF6 move.w [A6 - 0xA], D0
00004C6A 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00004C6E 664E bne +0x50 /* 00004CBE */
00004C70 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00004C76 4A6E FFF2 tst.w [A6 - 0xE]
00004C7A 6700 0158 beq +0x15A /* 00004DD4 */
00004C7E 4A46 tst.w D6
00004C80 660C bne +0xE /* 00004C8E */
00004C82 7C08 moveq.l D6, 0x08
00004C84 7002 moveq.l D0, 0x02
00004C86 3D40 FFF6 move.w [A6 - 0xA], D0
00004C8A 6000 0148 bra +0x14A /* 00004DD4 */
label00004C8E:
00004C8E 0C46 0010 cmpi.w D6, 0x10
00004C92 6600 0140 bne +0x142 /* 00004DD4 */
00004C96 7002 moveq.l D0, 0x02
00004C98 3D40 FFF6 move.w [A6 - 0xA], D0
00004C9C 6000 0136 bra +0x138 /* 00004DD4 */
00004CA0 7003 moveq.l D0, 0x03
00004CA2 3D40 FFF6 move.w [A6 - 0xA], D0
00004CA6 0C47 0078 cmpi.w D7, 0x78 /* 'x' */
00004CAA 6706 beq +0x8 /* 00004CB2 */
00004CAC 0C47 0058 cmpi.w D7, 0x58 /* 'X' */
00004CB0 660C bne +0xE /* 00004CBE */
label00004CB2:
00004CB2 7C10 moveq.l D6, 0x10
00004CB4 08AE 0003 FFF0 bclr.b [A6 - 0x10], 0x3
00004CBA 6000 0118 bra +0x11A /* 00004DD4 */
label00004CBE:
00004CBE 3A07 move.w D5, D7
00004CC0 0C45 0030 cmpi.w D5, 0x30 /* '0' */
00004CC4 6D0C blt +0xE /* 00004CD2 */
00004CC6 0C45 0039 cmpi.w D5, 0x39 /* '9' */
00004CCA 6E06 bgt +0x8 /* 00004CD2 */
00004CCC 0645 FFD0 addi.w D5, 0xFFD0
00004CD0 6026 bra +0x28 /* 00004CF8 */
label00004CD2:
00004CD2 0C45 0041 cmpi.w D5, 0x41 /* 'A' */
00004CD6 6D0C blt +0xE /* 00004CE4 */
00004CD8 0C45 005A cmpi.w D5, 0x5A /* 'Z' */
00004CDC 6E06 bgt +0x8 /* 00004CE4 */
00004CDE 0645 FFC9 addi.w D5, 0xFFC9
00004CE2 6014 bra +0x16 /* 00004CF8 */
label00004CE4:
00004CE4 0C45 0061 cmpi.w D5, 0x61 /* 'a' */
00004CE8 6D00 012C blt +0x12E /* 00004E16 */
00004CEC 0C45 007A cmpi.w D5, 0x7A /* 'z' */
00004CF0 6E00 0124 bgt +0x126 /* 00004E16 */
00004CF4 0645 FFA9 addi.w D5, 0xFFA9
label00004CF8:
00004CF8 4A46 tst.w D6
00004CFA 6602 bne +0x4 /* 00004CFE */
00004CFC 7C0A moveq.l D6, 0x0A
label00004CFE:
00004CFE BA46 cmp.w D5, D6
00004D00 6C00 0114 bge +0x116 /* 00004E16 */
00004D04 2004 move.l D0, D4
00004D06 4840 swap.w D0
00004D08 C0C6 mulu.w D0, D6
00004D0A 4840 swap.w D0
00004D0C 4A40 tst.w D0
00004D0E 6608 bne +0xA /* 00004D18 */
00004D10 3005 move.w D0, D5
00004D12 C8C6 mulu.w D4, D6
00004D14 D880 add.l D4, D0
00004D16 6404 bcc +0x6 /* 00004D1C */
label00004D18:
00004D18 50EE FFF8 st [A6 - 0x8]
label00004D1C:
00004D1C 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00004D22 6000 00B0 bra +0xB2 /* 00004DD4 */
00004D26 70FE moveq.l D0, 0xFFFFFFFE
00004D28 3D40 FFF6 move.w [A6 - 0xA], D0
00004D2C 426E FFDA clr.w [A6 - 0x26]
00004D30 422E FFDC clr.b [A6 - 0x24]
00004D34 0C47 002D cmpi.w D7, 0x2D /* '-' */
00004D38 660A bne +0xC /* 00004D44 */
00004D3A 7001 moveq.l D0, 0x01
00004D3C 1D40 FFD8 move.b [A6 - 0x28], D0
00004D40 6000 0092 bra +0x94 /* 00004DD4 */
label00004D44:
00004D44 422E FFD8 clr.b [A6 - 0x28]
00004D48 0C47 002B cmpi.w D7, 0x2B /* '+' */
00004D4C 6700 0086 beq +0x88 /* 00004DD4 */
00004D50 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00004D54 6D44 blt +0x46 /* 00004D9A */
00004D56 0C47 0039 cmpi.w D7, 0x39 /* '9' */
00004D5A 6E3E bgt +0x40 /* 00004D9A */
00004D5C 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00004D62 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00004D66 6608 bne +0xA /* 00004D70 */
00004D68 4A2E FFDC tst.b [A6 - 0x24]
00004D6C 6700 0066 beq +0x68 /* 00004DD4 */
label00004D70:
00004D70 0C2E 0013 FFDC cmpi.b [A6 - 0x24], 0x13
00004D76 6C14 bge +0x16 /* 00004D8C */
00004D78 522E FFDC addq.b [A6 - 0x24], 1
00004D7C 102E FFDC move.b D0, [A6 - 0x24]
00004D80 4880 ext.w D0
00004D82 48C0 ext.l D0
00004D84 D08E add.l D0, A6
00004D86 2040 movea.l A0, D0
00004D88 1147 FFDC move.b [A0 - 0x24], D7
label00004D8C:
00004D8C 082E 0000 FFF0 btst.b [A6 - 0x10], 0x0
00004D92 6740 beq +0x42 /* 00004DD4 */
00004D94 536E FFDA subq.w [A6 - 0x26], 1
00004D98 603A bra +0x3C /* 00004DD4 */
label00004D9A:
00004D9A 0C47 002E cmpi.w D7, 0x2E /* '.' */
00004D9E 6610 bne +0x12 /* 00004DB0 */
00004DA0 082E 0000 FFF0 btst.b [A6 - 0x10], 0x0
00004DA6 6608 bne +0xA /* 00004DB0 */
00004DA8 08EE 0000 FFF0 bset.b [A6 - 0x10], 0x0
00004DAE 6024 bra +0x26 /* 00004DD4 */
label00004DB0:
00004DB0 0C47 0065 cmpi.w D7, 0x65 /* 'e' */
00004DB4 6708 beq +0xA /* 00004DBE */
00004DB6 0C47 0045 cmpi.w D7, 0x45 /* 'E' */
00004DBA 6600 005A bne +0x5C /* 00004E16 */
label00004DBE:
00004DBE 082E 0003 FFF0 btst.b [A6 - 0x10], 0x3
00004DC4 6700 0050 beq +0x52 /* 00004E16 */
00004DC8 7C0A moveq.l D6, 0x0A
00004DCA 08AE 0003 FFF0 bclr.b [A6 - 0x10], 0x3
00004DD0 426E FFF6 clr.w [A6 - 0xA]
label00004DD4:
00004DD4 4A6E FFF2 tst.w [A6 - 0xE]
00004DD8 674C beq +0x4E /* 00004E26 */
00004DDA 206E 0008 movea.l A0, [A6 + 0x8]
00004DDE 2028 0012 move.l D0, [A0 + 0x12]
00004DE2 53A8 0012 subq.l [A0 + 0x12], 1
00004DE6 4A80 tst.l D0
00004DE8 6714 beq +0x16 /* 00004DFE */
00004DEA 206E 0008 movea.l A0, [A6 + 0x8]
00004DEE 2268 000E movea.l A1, [A0 + 0xE]
00004DF2 52A8 000E addq.l [A0 + 0xE], 1
00004DF6 7000 moveq.l D0, 0x00
00004DF8 1011 move.b D0, [A1]
00004DFA 48C0 ext.l D0
00004DFC 600A bra +0xC /* 00004E08 */
label00004DFE:
00004DFE 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004E02 4EBA B97E jsr [PC - 0x4682 /* 00000782 */]
00004E06 588F addq.l A7, 4
label00004E08:
00004E08 3E00 move.w D7, D0
00004E0A 526E FFFA addq.w [A6 - 0x6], 1
label00004E0E:
00004E0E 0C47 FFFF cmpi.w D7, 0xFFFF
00004E12 6600 FE14 bne -0x1EA /* 00004C28 */
label00004E16:
00004E16 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004E1A 3F07 move.w -[A7], D7
00004E1C 4EBA 0734 jsr [PC + 0x734 /* 00005552 */]
00004E20 5C8F addq.l A7, 6
00004E22 536E FFFA subq.w [A6 - 0x6], 1
label00004E26:
00004E26 082E 0003 FFF0 btst.b [A6 - 0x10], 0x3
00004E2C 6700 01BE beq +0x1C0 /* 00004FEC */
00004E30 082E 0004 FFF0 btst.b [A6 - 0x10], 0x4
00004E36 671E beq +0x20 /* 00004E56 */
00004E38 4A84 tst.l D4
00004E3A 671A beq +0x1C /* 00004E56 */
00004E3C 2004 move.l D0, D4
00004E3E 4480 neg.l D0
00004E40 2800 move.l D4, D0
00004E42 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00004E48 6604 bne +0x6 /* 00004E4E */
00004E4A 4A84 tst.l D4
00004E4C 6F1A ble +0x1C /* 00004E68 */
label00004E4E:
00004E4E 7001 moveq.l D0, 0x01
00004E50 3D40 FFF8 move.w [A6 - 0x8], D0
00004E54 6012 bra +0x14 /* 00004E68 */
label00004E56:
00004E56 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00004E5C 660A bne +0xC /* 00004E68 */
00004E5E 4A84 tst.l D4
00004E60 6C06 bge +0x8 /* 00004E68 */
00004E62 7001 moveq.l D0, 0x01
00004E64 3D40 FFF8 move.w [A6 - 0x8], D0
label00004E68:
00004E68 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
00004E6E 6716 beq +0x18 /* 00004E86 */
00004E70 306E FFDA movea.w A0, [A6 - 0x26]
00004E74 D888 add.l D4, A0
00004E76 6906 bvs +0x8 /* 00004E7E */
00004E78 2044 movea.l A0, D4
00004E7A B0C8 cmpa.w A0, A0
00004E7C 6764 beq +0x66 /* 00004EE2 */
label00004E7E:
00004E7E 50EE FFF8 st [A6 - 0x8]
00004E82 6000 005E bra +0x60 /* 00004EE2 */
label00004E86:
00004E86 082E 0007 FFF1 btst.b [A6 - 0xF], 0x7
00004E8C 6728 beq +0x2A /* 00004EB6 */
00004E8E 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00004E94 6712 beq +0x14 /* 00004EA8 */
00004E96 7000 moveq.l D0, 0x00
00004E98 3004 move.w D0, D4
00004E9A B084 cmp.l D0, D4
00004E9C 6700 0044 beq +0x46 /* 00004EE2 */
00004EA0 7001 moveq.l D0, 0x01
00004EA2 3D40 FFF8 move.w [A6 - 0x8], D0
00004EA6 603A bra +0x3C /* 00004EE2 */
label00004EA8:
00004EA8 3044 movea.w A0, D4
00004EAA B1C4 cmpa.l A0, D4
00004EAC 6734 beq +0x36 /* 00004EE2 */
00004EAE 7001 moveq.l D0, 0x01
00004EB0 3D40 FFF8 move.w [A6 - 0x8], D0
00004EB4 602C bra +0x2E /* 00004EE2 */
label00004EB6:
00004EB6 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
00004EBC 6624 bne +0x26 /* 00004EE2 */
00004EBE 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00004EC4 6710 beq +0x12 /* 00004ED6 */
00004EC6 7000 moveq.l D0, 0x00
00004EC8 3004 move.w D0, D4
00004ECA B084 cmp.l D0, D4
00004ECC 6714 beq +0x16 /* 00004EE2 */
00004ECE 7001 moveq.l D0, 0x01
00004ED0 3D40 FFF8 move.w [A6 - 0x8], D0
00004ED4 600C bra +0xE /* 00004EE2 */
label00004ED6:
00004ED6 3044 movea.w A0, D4
00004ED8 B1C4 cmpa.l A0, D4
00004EDA 6706 beq +0x8 /* 00004EE2 */
00004EDC 7001 moveq.l D0, 0x01
00004EDE 3D40 FFF8 move.w [A6 - 0x8], D0
label00004EE2:
00004EE2 4A6E FFF8 tst.w [A6 - 0x8]
00004EE6 6700 0058 beq +0x5A /* 00004F40 */
00004EEA 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00004EF0 6704 beq +0x6 /* 00004EF6 */
00004EF2 7800 moveq.l D4, 0x00
00004EF4 602E bra +0x30 /* 00004F24 */
label00004EF6:
00004EF6 082E 0007 FFF1 btst.b [A6 - 0xF], 0x7
00004EFC 6608 bne +0xA /* 00004F06 */
00004EFE 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
00004F04 6708 beq +0xA /* 00004F0E */
label00004F06:
00004F06 283C FFFF 8000 move.l D4, 0xFFFF8000
00004F0C 6016 bra +0x18 /* 00004F24 */
label00004F0E:
00004F0E 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
00004F14 6708 beq +0xA /* 00004F1E */
00004F16 283C 8000 0000 move.l D4, 0x80000000
00004F1C 6006 bra +0x8 /* 00004F24 */
label00004F1E:
00004F1E 283C FFFF 8000 move.l D4, 0xFFFF8000
label00004F24:
00004F24 082E 0004 FFF0 btst.b [A6 - 0x10], 0x4
00004F2A 6606 bne +0x8 /* 00004F32 */
00004F2C 2004 move.l D0, D4
00004F2E 4680 not.l D0
00004F30 2800 move.l D4, D0
label00004F32:
00004F32 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
00004F38 6606 bne +0x8 /* 00004F40 */
00004F3A 7022 moveq.l D0, 0x22
00004F3C 3B40 FCFA move.w [A5 - 0x306], D0
label00004F40:
00004F40 082E 0007 FFF0 btst.b [A6 - 0x10], 0x7
00004F46 6600 008C bne +0x8E /* 00004FD4 */
00004F4A 206E 0010 movea.l A0, [A6 + 0x10]
00004F4E 58AE 0010 addq.l [A6 + 0x10], 4
00004F52 2850 movea.l A4, [A0]
00004F54 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
00004F5A 6700 005A beq +0x5C /* 00004FB6 */
00004F5E 3D44 FFDA move.w [A6 - 0x26], D4
00004F62 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
00004F68 6608 bne +0xA /* 00004F72 */
00004F6A 082E 0005 FFF1 btst.b [A6 - 0xF], 0x5
00004F70 6714 beq +0x16 /* 00004F86 */
label00004F72:
00004F72 2F0C move.l -[A7], A4
00004F74 486E FFD8 pea.l [A6 - 0x28]
00004F78 4267 clr.w -[A7]
00004F7A 4EBA 011A jsr [PC + 0x11A /* 00005096 */]
00004F7E 4FEF 000A lea.l A7, [A7 + 0xA]
00004F82 6000 004C bra +0x4E /* 00004FD0 */
label00004F86:
00004F86 082E 0007 FFF1 btst.b [A6 - 0xF], 0x7
00004F8C 6714 beq +0x16 /* 00004FA2 */
00004F8E 2F0C move.l -[A7], A4
00004F90 486E FFD8 pea.l [A6 - 0x28]
00004F94 3F3C 0800 move.w -[A7], 0x800
00004F98 4EBA 00FC jsr [PC + 0xFC /* 00005096 */]
00004F9C 4FEF 000A lea.l A7, [A7 + 0xA]
00004FA0 602E bra +0x30 /* 00004FD0 */
label00004FA2:
00004FA2 2F0C move.l -[A7], A4
00004FA4 486E FFD8 pea.l [A6 - 0x28]
00004FA8 3F3C 1000 move.w -[A7], 0x1000
00004FAC 4EBA 00E8 jsr [PC + 0xE8 /* 00005096 */]
00004FB0 4FEF 000A lea.l A7, [A7 + 0xA]
00004FB4 601A bra +0x1C /* 00004FD0 */
label00004FB6:
00004FB6 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
00004FBC 6704 beq +0x6 /* 00004FC2 */
00004FBE 2884 move.l [A4], D4
00004FC0 600E bra +0x10 /* 00004FD0 */
label00004FC2:
00004FC2 082E 0007 FFF1 btst.b [A6 - 0xF], 0x7
00004FC8 6704 beq +0x6 /* 00004FCE */
00004FCA 3884 move.w [A4], D4
00004FCC 6002 bra +0x4 /* 00004FD0 */
label00004FCE:
00004FCE 3884 move.w [A4], D4
label00004FD0:
00004FD0 526E FFFE addq.w [A6 - 0x2], 1
label00004FD4:
00004FD4 526E FFFC addq.w [A6 - 0x4], 1
label00004FD8:
00004FD8 52AE 000C addq.l [A6 + 0xC], 1
00004FDC 206E 000C movea.l A0, [A6 + 0xC]
00004FE0 1010 move.b D0, [A0]
00004FE2 4880 ext.w D0
00004FE4 3E00 move.w D7, D0
label00004FE6:
00004FE6 4A47 tst.w D7
00004FE8 6600 F6AE bne -0x950 /* 00004698 */
label00004FEC:
00004FEC 4A6E FFFC tst.w [A6 - 0x4]
00004FF0 660A bne +0xC /* 00004FFC */
00004FF2 0C47 FFFF cmpi.w D7, 0xFFFF
00004FF6 6604 bne +0x6 /* 00004FFC */
00004FF8 70FF moveq.l D0, 0xFFFFFFFF
00004FFA 6004 bra +0x6 /* 00005000 */
label00004FFC:
00004FFC 302E FFFE move.w D0, [A6 - 0x2]
label00005000:
00005000 4CDF 10F0 movem.l D4,D5,D6,D7,A4, [A7]+
00005004 4E5E unlink A6
00005006 4E75 rts
fn00005008:
00005008 4E56 0000 link A6, 0
0000500C 41ED FF98 lea.l A0, [A5 - 0x68]
00005010 7000 moveq.l D0, 0x00
00005012 20C0 move.l [A0]+, D0
00005014 20C0 move.l [A0]+, D0
00005016 20C0 move.l [A0]+, D0
00005018 20C0 move.l [A0]+, D0
0000501A 20C0 move.l [A0]+, D0
0000501C 20C0 move.l [A0]+, D0
0000501E 20C0 move.l [A0]+, D0
00005020 20C0 move.l [A0]+, D0
00005022 4A6E 0008 tst.w [A6 + 0x8]
00005026 6710 beq +0x12 /* 00005038 */
00005028 703E moveq.l D0, 0x3E
0000502A 1B40 FF99 move.b [A5 - 0x67], D0
0000502E 7001 moveq.l D0, 0x01
00005030 1B40 FF9C move.b [A5 - 0x64], D0
00005034 4EBA 0026 jsr [PC + 0x26 /* 0000505C */]
label00005038:
00005038 4E5E unlink A6
0000503A 4E75 rts
fn0000503C:
0000503C 4E56 0000 link A6, 0
00005040 302E 0008 move.w D0, [A6 + 0x8]
00005044 E640 asr D0.w, 3
00005046 41ED FF98 lea.l A0, [A5 - 0x68]
0000504A D0C0 add.w A0, D0
0000504C 7007 moveq.l D0, 0x07
0000504E C06E 0008 and.w D0, [A6 + 0x8]
00005052 7201 moveq.l D1, 0x01
00005054 E169 lsl D1.w, D0
00005056 8310 or.b [A0], D1
00005058 4E5E unlink A6
0000505A 4E75 rts
fn0000505C:
0000505C 41ED FF98 lea.l A0, [A5 - 0x68]
00005060 4698 not.l [A0]+
00005062 4698 not.l [A0]+
00005064 4698 not.l [A0]+
00005066 4698 not.l [A0]+
00005068 4698 not.l [A0]+
0000506A 4698 not.l [A0]+
0000506C 4698 not.l [A0]+
0000506E 4698 not.l [A0]+
00005070 4E75 rts
fn00005072:
00005072 4E56 0000 link A6, 0
00005076 302E 0008 move.w D0, [A6 + 0x8]
0000507A E640 asr D0.w, 3
0000507C 41ED FF98 lea.l A0, [A5 - 0x68]
00005080 D0C0 add.w A0, D0
00005082 7007 moveq.l D0, 0x07
00005084 C06E 0008 and.w D0, [A6 + 0x8]
00005088 7201 moveq.l D1, 0x01
0000508A E169 lsl D1.w, D0
0000508C 1010 move.b D0, [A0]
0000508E 4880 ext.w D0
00005090 C041 and.w D0, D1
00005092 4E5E unlink A6
00005094 4E75 rts
fn00005096:
00005096 4E56 FFFA link A6, -0x0006
0000509A 48E7 0018 movem.l -[A7], A3,A4
0000509E 286E 000A movea.l A4, [A6 + 0xA]
000050A2 7030 moveq.l D0, 0x30
000050A4 3D40 FFFA move.w [A6 - 0x6], D0
000050A8 266E 000E movea.l A3, [A6 + 0xE]
000050AC 41EB 0002 lea.l A0, [A3 + 0x2]
000050B0 2D48 000E move.l [A6 + 0xE], A0
000050B4 486E FFFE pea.l [A6 - 0x2]
000050B8 3F3C 0017 move.w -[A7], 0x17
000050BC A9EB syscall Pack4/FP68K
000050BE 4A2C 0004 tst.b [A4 + 0x4]
000050C2 6700 0070 beq +0x72 /* 00005134 */
000050C6 2F0C move.l -[A7], A4
000050C8 2F2E 000E move.l -[A7], [A6 + 0xE]
000050CC 302E 0008 move.w D0, [A6 + 0x8]
000050D0 0640 0009 addi.w D0, 0x9 /* '\t' */
000050D4 3F00 move.w -[A7], D0
000050D6 A9EB syscall Pack4/FP68K
000050D8 486E FFFE pea.l [A6 - 0x2]
000050DC 3F3C 0003 move.w -[A7], 0x3
000050E0 A9EB syscall Pack4/FP68K
000050E2 2F2E 000E move.l -[A7], [A6 + 0xE]
000050E6 486E FFFC pea.l [A6 - 0x4]
000050EA 302E 0008 move.w D0, [A6 + 0x8]
000050EE 0640 001C addi.w D0, 0x1C
000050F2 3F00 move.w -[A7], D0
000050F4 A9EB syscall Pack4/FP68K
000050F6 4A6E FFFC tst.w [A6 - 0x4]
000050FA 6C0A bge +0xC /* 00005106 */
000050FC 302E FFFC move.w D0, [A6 - 0x4]
00005100 4440 neg.w D0
00005102 3D40 FFFC move.w [A6 - 0x4], D0
label00005106:
00005106 0C6E 0003 FFFC cmpi.w [A6 - 0x4], 0x3
0000510C 6708 beq +0xA /* 00005116 */
0000510E 082E 0002 FFFE btst.b [A6 - 0x2], 0x2
00005114 6708 beq +0xA /* 0000511E */
label00005116:
00005116 7049 moveq.l D0, 0x49
00005118 3D40 FFFA move.w [A6 - 0x6], D0
0000511C 6010 bra +0x12 /* 0000512E */
label0000511E:
0000511E 0C6E 0005 FFFC cmpi.w [A6 - 0x4], 0x5
00005124 6608 bne +0xA /* 0000512E */
00005126 082E 0001 FFFE btst.b [A6 - 0x2], 0x1
0000512C 6732 beq +0x34 /* 00005160 */
label0000512E:
0000512E 7022 moveq.l D0, 0x22
00005130 3B40 FCFA move.w [A5 - 0x306], D0
label00005134:
00005134 0C6E 0030 FFFA cmpi.w [A6 - 0x6], 0x30 /* '0' */
0000513A 6602 bne +0x4 /* 0000513E */
0000513C 4214 clr.b [A4]
label0000513E:
0000513E 426C 0002 clr.w [A4 + 0x2]
00005142 7001 moveq.l D0, 0x01
00005144 1940 0004 move.b [A4 + 0x4], D0
00005148 196E FFFB 0005 move.b [A4 + 0x5], [A6 - 0x5]
0000514E 2F0C move.l -[A7], A4
00005150 2F2E 000E move.l -[A7], [A6 + 0xE]
00005154 302E 0008 move.w D0, [A6 + 0x8]
00005158 0640 0009 addi.w D0, 0x9 /* '\t' */
0000515C 3F00 move.w -[A7], D0
0000515E A9EB syscall Pack4/FP68K
label00005160:
00005160 36AB 0002 move.w [A3], [A3 + 0x2]
00005164 426B 0002 clr.w [A3 + 0x2]
00005168 4CDF 1800 movem.l A3,A4, [A7]+
0000516C 4E5E unlink A6
0000516E 4E75 rts
00005170 4E56 FFFC link A6, -0x0004
00005174 4A6E 0008 tst.w [A6 + 0x8]
00005178 6F08 ble +0xA /* 00005182 */
0000517A 0C6E 0006 0008 cmpi.w [A6 + 0x8], 0x6
00005180 6F0A ble +0xC /* 0000518C */
label00005182:
00005182 7016 moveq.l D0, 0x16
00005184 3B40 FCFA move.w [A5 - 0x306], D0
00005188 70FF moveq.l D0, 0xFFFFFFFF
0000518A 6028 bra +0x2A /* 000051B4 */
label0000518C:
0000518C 302E 0008 move.w D0, [A6 + 0x8]
00005190 48C0 ext.l D0
00005192 E580 asl D0, 2
00005194 41ED FFB8 lea.l A0, [A5 - 0x48]
00005198 D1C0 add.l A0, D0
0000519A 2D50 FFFC move.l [A6 - 0x4], [A0]
0000519E 302E 0008 move.w D0, [A6 + 0x8]
000051A2 48C0 ext.l D0
000051A4 E580 asl D0, 2
000051A6 41ED FFB8 lea.l A0, [A5 - 0x48]
000051AA D1C0 add.l A0, D0
000051AC 20AE 000A move.l [A0], [A6 + 0xA]
000051B0 202E FFFC move.l D0, [A6 - 0x4]
label000051B4:
000051B4 4E5E unlink A6
000051B6 4E75 rts
fn000051B8:
000051B8 4E56 FFFC link A6, -0x0004
000051BC 4A6E 0008 tst.w [A6 + 0x8]
000051C0 6F08 ble +0xA /* 000051CA */
000051C2 0C6E 0006 0008 cmpi.w [A6 + 0x8], 0x6
000051C8 6F0A ble +0xC /* 000051D4 */
label000051CA:
000051CA 7016 moveq.l D0, 0x16
000051CC 3B40 FCFA move.w [A5 - 0x306], D0
000051D0 70FF moveq.l D0, 0xFFFFFFFF
000051D2 6042 bra +0x44 /* 00005216 */
label000051D4:
000051D4 302E 0008 move.w D0, [A6 + 0x8]
000051D8 48C0 ext.l D0
000051DA E580 asl D0, 2
000051DC 41ED FFB8 lea.l A0, [A5 - 0x48]
000051E0 D1C0 add.l A0, D0
000051E2 2D50 FFFC move.l [A6 - 0x4], [A0]
000051E6 0CAE 0000 0001 FFFC cmpi.l [A6 - 0x4], 0x1
000051EE 6724 beq +0x26 /* 00005214 */
000051F0 302E 0008 move.w D0, [A6 + 0x8]
000051F4 48C0 ext.l D0
000051F6 E580 asl D0, 2
000051F8 41ED FFB8 lea.l A0, [A5 - 0x48]
000051FC D1C0 add.l A0, D0
000051FE 4290 clr.l [A0]
00005200 4AAE FFFC tst.l [A6 - 0x4]
00005204 6602 bne +0x4 /* 00005208 */
00005206 A9F4 syscall ExitToShell
label00005208:
00005208 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000520C 206E FFFC movea.l A0, [A6 - 0x4]
00005210 4E90 jsr [A0]
00005212 548F addq.l A7, 2
label00005214:
00005214 7000 moveq.l D0, 0x00
label00005216:
00005216 4E5E unlink A6
00005218 4E75 rts
0000521A 3F3C 0001 move.w -[A7], 0x1
0000521E 4EBA FF98 jsr [PC - 0x68 /* 000051B8 */]
00005222 548F addq.l A7, 2
00005224 A9F4 syscall ExitToShell
00005226 4E75 rts
fn00005228:
00005228 4E56 0000 link A6, 0
0000522C 206E 0008 movea.l A0, [A6 + 0x8]
00005230 0810 0007 btst.b [A0], 0x7
00005234 6704 beq +0x6 /* 0000523A */
00005236 4EBA C04C jsr [PC - 0x3FB4 /* 00001284 */]
label0000523A:
0000523A 206E 0008 movea.l A0, [A6 + 0x8]
0000523E 4A68 0004 tst.w [A0 + 0x4]
00005242 662C bne +0x2E /* 00005270 */
00005244 206E 0008 movea.l A0, [A6 + 0x8]
00005248 5488 addq.l A0, 2
0000524A 226E 0008 movea.l A1, [A6 + 0x8]
0000524E 2348 0006 move.l [A1 + 0x6], A0
00005252 226E 0008 movea.l A1, [A6 + 0x8]
00005256 2348 000E move.l [A1 + 0xE], A0
0000525A 206E 0008 movea.l A0, [A6 + 0x8]
0000525E 7001 moveq.l D0, 0x01
00005260 2140 000A move.l [A0 + 0xA], D0
00005264 41ED 02C2 lea.l A0, [A5 + 0x2C2 /* export_84 */]
00005268 226E 0008 movea.l A1, [A6 + 0x8]
0000526C 2348 0022 move.l [A1 + 0x22], A0
label00005270:
00005270 202E 0008 move.l D0, [A6 + 0x8]
00005274 4E5E unlink A6
00005276 4E75 rts
fn00005278:
00005278 4E56 0000 link A6, 0
0000527C 48E7 0018 movem.l -[A7], A3,A4
00005280 286E 0008 movea.l A4, [A6 + 0x8]
00005284 266E 000C movea.l A3, [A6 + 0xC]
00005288 204B movea.l A0, A3
0000528A 50C1 st D1
label0000528C:
0000528C 16C0 move.b [A3]+, D0
0000528E 5201 addq.b D1, 1
00005290 101C move.b D0, [A4]+
00005292 66F8 bne -0x6 /* 0000528C */
00005294 1081 move.b [A0], D1
00005296 2008 move.l D0, A0
00005298 4CDF 1800 movem.l A3,A4, [A7]+
0000529C 4E5E unlink A6
0000529E 4E75 rts
fn000052A0:
000052A0 4E56 0000 link A6, 0
000052A4 2F2E 000C move.l -[A7], [A6 + 0xC]
000052A8 4EBA 029A jsr [PC + 0x29A /* 00005544 */]
000052AC 588F addq.l A7, 4
000052AE 2F00 move.l -[A7], D0
000052B0 2F2E 000C move.l -[A7], [A6 + 0xC]
000052B4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000052B8 4EBA 0036 jsr [PC + 0x36 /* 000052F0 */]
000052BC 4FEF 000C lea.l A7, [A7 + 0xC]
000052C0 202E 0008 move.l D0, [A6 + 0x8]
000052C4 4E5E unlink A6
000052C6 4E75 rts
fn000052C8:
000052C8 4E56 0000 link A6, 0
000052CC 2F0C move.l -[A7], A4
000052CE 286E 0008 movea.l A4, [A6 + 0x8]
000052D2 4878 FFFF push.l 0xFFFF
000052D6 2F2E 000C move.l -[A7], [A6 + 0xC]
000052DA 2F0C move.l -[A7], A4
000052DC 4EBA 0012 jsr [PC + 0x12 /* 000052F0 */]
000052E0 4FEF 000C lea.l A7, [A7 + 0xC]
000052E4 08D4 0003 bset.b [A4], 0x3
000052E8 200C move.l D0, A4
000052EA 285F movea.l A4, [A7]+
000052EC 4E5E unlink A6
000052EE 4E75 rts
fn000052F0:
000052F0 4E56 0000 link A6, 0
000052F4 2F0C move.l -[A7], A4
000052F6 286E 0008 movea.l A4, [A6 + 0x8]
000052FA 4878 0026 push.l 0x26 /* '&' */
000052FE 4267 clr.w -[A7]
00005300 2F0C move.l -[A7], A4
00005302 4EBA E832 jsr [PC - 0x17CE /* 00003B36 */]
00005306 4FEF 000A lea.l A7, [A7 + 0xA]
0000530A 70FF moveq.l D0, 0xFFFFFFFF
0000530C 3940 0004 move.w [A4 + 0x4], D0
00005310 296E 000C 000E move.l [A4 + 0xE], [A6 + 0xC]
00005316 296E 0010 0012 move.l [A4 + 0x12], [A6 + 0x10]
0000531C 41ED 02C2 lea.l A0, [A5 + 0x2C2 /* export_84 */]
00005320 2948 0022 move.l [A4 + 0x22], A0
00005324 285F movea.l A4, [A7]+
00005326 4E5E unlink A6
00005328 4E75 rts
export_84:
0000532A 4E56 0000 link A6, 0
0000532E 70FF moveq.l D0, 0xFFFFFFFF
00005330 4E5E unlink A6
00005332 4E75 rts
fn00005334:
00005334 4E56 0000 link A6, 0
00005338 486E 0010 pea.l [A6 + 0x10]
0000533C 2F2E 000C move.l -[A7], [A6 + 0xC]
00005340 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005344 4EBA 000A jsr [PC + 0xA /* 00005350 */]
00005348 4FEF 000C lea.l A7, [A7 + 0xC]
0000534C 4E5E unlink A6
0000534E 4E75 rts
fn00005350:
00005350 4E56 FFD8 link A6, -0x0028
00005354 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005358 486E FFDA pea.l [A6 - 0x26]
0000535C 4EBA FF6A jsr [PC - 0x96 /* 000052C8 */]
00005360 508F addq.l A7, 8
00005362 2F2E 0010 move.l -[A7], [A6 + 0x10]
00005366 2F2E 000C move.l -[A7], [A6 + 0xC]
0000536A 2F00 move.l -[A7], D0
0000536C 4EBA E7E0 jsr [PC - 0x1820 /* 00003B4E */]
00005370 4FEF 000C lea.l A7, [A7 + 0xC]
00005374 3D40 FFD8 move.w [A6 - 0x28], D0
00005378 4A40 tst.w D0
0000537A 6D0A blt +0xC /* 00005386 */
0000537C 306E FFD8 movea.w A0, [A6 - 0x28]
00005380 D1EE 0008 add.l A0, [A6 + 0x8]
00005384 4210 clr.b [A0]
label00005386:
00005386 302E FFD8 move.w D0, [A6 - 0x28]
0000538A 4E5E unlink A6
0000538C 4E75 rts
export_85:
0000538E 4E56 0000 link A6, 0
00005392 486E 0010 pea.l [A6 + 0x10]
00005396 2F2E 000C move.l -[A7], [A6 + 0xC]
0000539A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000539E 4EBA 000A jsr [PC + 0xA /* 000053AA */]
000053A2 4FEF 000C lea.l A7, [A7 + 0xC]
000053A6 4E5E unlink A6
000053A8 4E75 rts
fn000053AA:
000053AA 4E56 FFDA link A6, -0x0026
000053AE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000053B2 486E FFDA pea.l [A6 - 0x26]
000053B6 4EBA FEE8 jsr [PC - 0x118 /* 000052A0 */]
000053BA 508F addq.l A7, 8
000053BC 2F2E 0010 move.l -[A7], [A6 + 0x10]
000053C0 2F2E 000C move.l -[A7], [A6 + 0xC]
000053C4 2F00 move.l -[A7], D0
000053C6 4EBA F2AE jsr [PC - 0xD52 /* 00004676 */]
000053CA 4FEF 000C lea.l A7, [A7 + 0xC]
000053CE 4E5E unlink A6
000053D0 4E75 rts
fn000053D2:
000053D2 4E56 0000 link A6, 0
000053D6 206E 0008 movea.l A0, [A6 + 0x8]
000053DA 4267 clr.w -[A7]
000053DC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000053E0 2068 0022 movea.l A0, [A0 + 0x22]
000053E4 4E90 jsr [A0]
000053E6 5C8F addq.l A7, 6
000053E8 4E5E unlink A6
000053EA 4E75 rts
fn000053EC:
000053EC 4E56 0000 link A6, 0
000053F0 206E 0008 movea.l A0, [A6 + 0x8]
000053F4 3F3C 0001 move.w -[A7], 0x1
000053F8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000053FC 2068 0022 movea.l A0, [A0 + 0x22]
00005400 4E90 jsr [A0]
00005402 5C8F addq.l A7, 6
00005404 4E5E unlink A6
00005406 4E75 rts
fn00005408:
00005408 4E56 0000 link A6, 0
0000540C 206E 0008 movea.l A0, [A6 + 0x8]
00005410 3F3C 0002 move.w -[A7], 0x2
00005414 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005418 2068 0022 movea.l A0, [A0 + 0x22]
0000541C 4E90 jsr [A0]
0000541E 5C8F addq.l A7, 6
00005420 4E5E unlink A6
00005422 4E75 rts
00005424 206F 0004 movea.l A0, [A7 + 0x4]
00005428 226F 0008 movea.l A1, [A7 + 0x8]
0000542C 2008 move.l D0, A0
label0000542E:
0000542E 10D9 move.b [A0]+, [A1]+
00005430 66FC bne -0x2 /* 0000542E */
00005432 4E75 rts
00005434 206F 0004 movea.l A0, [A7 + 0x4]
00005438 226F 0008 movea.l A1, [A7 + 0x8]
0000543C 2008 move.l D0, A0
label0000543E:
0000543E 4A18 tst.b [A0]+
00005440 66FC bne -0x2 /* 0000543E */
00005442 5388 subq.l A0, 1
label00005444:
00005444 10D9 move.b [A0]+, [A1]+
00005446 66FC bne -0x2 /* 00005444 */
00005448 4E75 rts
0000544A 206F 0004 movea.l A0, [A7 + 0x4]
0000544E 226F 0008 movea.l A1, [A7 + 0x8]
00005452 7000 moveq.l D0, 0x00
00005454 6004 bra +0x6 /* 0000545A */
label00005456:
00005456 4A01 tst.b D1
00005458 670C beq +0xE /* 00005466 */
label0000545A:
0000545A 1218 move.b D1, [A0]+
0000545C B219 cmp.b D1, [A1]+
0000545E 67F6 beq -0x8 /* 00005456 */
00005460 6202 bhi +0x4 /* 00005464 */
00005462 5580 subq.l D0, 2
label00005464:
00005464 5280 addq.l D0, 1
label00005466:
00005466 4E75 rts
00005468 206F 0004 movea.l A0, [A7 + 0x4]
0000546C 322F 0008 move.w D1, [A7 + 0x8]
00005470 7000 moveq.l D0, 0x00
00005472 6004 bra +0x6 /* 00005478 */
label00005474:
00005474 4A18 tst.b [A0]+
00005476 6706 beq +0x8 /* 0000547E */
label00005478:
00005478 B210 cmp.b D1, [A0]
0000547A 66F8 bne -0x6 /* 00005474 */
0000547C 2008 move.l D0, A0
label0000547E:
0000547E 4E75 rts
00005480 206F 0004 movea.l A0, [A7 + 0x4]
00005484 70FF moveq.l D0, 0xFFFFFFFF
label00005486:
00005486 5280 addq.l D0, 1
00005488 1218 move.b D1, [A0]+
0000548A 670C beq +0xE /* 00005498 */
0000548C 226F 0008 movea.l A1, [A7 + 0x8]
label00005490:
00005490 1419 move.b D2, [A1]+
00005492 67F2 beq -0xC /* 00005486 */
00005494 B401 cmp.b D2, D1
00005496 66F8 bne -0x6 /* 00005490 */
label00005498:
00005498 4E75 rts
0000549A 206F 0004 movea.l A0, [A7 + 0x4]
0000549E 7000 moveq.l D0, 0x00
label000054A0:
000054A0 1218 move.b D1, [A0]+
000054A2 6710 beq +0x12 /* 000054B4 */
000054A4 226F 0008 movea.l A1, [A7 + 0x8]
label000054A8:
000054A8 1419 move.b D2, [A1]+
000054AA 67F4 beq -0xA /* 000054A0 */
000054AC B401 cmp.b D2, D1
000054AE 66F8 bne -0x6 /* 000054A8 */
000054B0 5388 subq.l A0, 1
000054B2 2008 move.l D0, A0
label000054B4:
000054B4 4E75 rts
000054B6 206F 0004 movea.l A0, [A7 + 0x4]
000054BA 322F 0008 move.w D1, [A7 + 0x8]
000054BE 7000 moveq.l D0, 0x00
label000054C0:
000054C0 B210 cmp.b D1, [A0]
000054C2 6602 bne +0x4 /* 000054C6 */
000054C4 2008 move.l D0, A0
label000054C6:
000054C6 4A18 tst.b [A0]+
000054C8 66F6 bne -0x8 /* 000054C0 */
000054CA 4E75 rts
000054CC 206F 0004 movea.l A0, [A7 + 0x4]
000054D0 7000 moveq.l D0, 0x00
000054D2 6006 bra +0x8 /* 000054DA */
label000054D4:
000054D4 B401 cmp.b D2, D1
000054D6 660A bne +0xC /* 000054E2 */
000054D8 5280 addq.l D0, 1
label000054DA:
000054DA 1218 move.b D1, [A0]+
000054DC 6708 beq +0xA /* 000054E6 */
000054DE 226F 0008 movea.l A1, [A7 + 0x8]
label000054E2:
000054E2 1419 move.b D2, [A1]+
000054E4 66EE bne -0x10 /* 000054D4 */
label000054E6:
000054E6 4E75 rts
000054E8 202F 0004 move.l D0, [A7 + 0x4]
000054EC 6006 bra +0x8 /* 000054F4 */
label000054EE:
000054EE B401 cmp.b D2, D1
000054F0 6708 beq +0xA /* 000054FA */
000054F2 5280 addq.l D0, 1
label000054F4:
000054F4 2040 movea.l A0, D0
000054F6 226F 0008 movea.l A1, [A7 + 0x8]
label000054FA:
000054FA 1219 move.b D1, [A1]+
000054FC 6706 beq +0x8 /* 00005504 */
000054FE 1418 move.b D2, [A0]+
00005500 66EC bne -0x12 /* 000054EE */
00005502 7000 moveq.l D0, 0x00
label00005504:
00005504 4E75 rts
00005506 202F 0004 move.l D0, [A7 + 0x4]
0000550A 6606 bne +0x8 /* 00005512 */
label0000550C:
0000550C 202D FFFC move.l D0, [A5 - 0x4]
00005510 6730 beq +0x32 /* 00005542 */
label00005512:
00005512 42AD FFFC clr.l [A5 - 0x4]
00005516 2040 movea.l A0, D0
00005518 6006 bra +0x8 /* 00005520 */
label0000551A:
0000551A B401 cmp.b D2, D1
0000551C 660A bne +0xC /* 00005528 */
0000551E 2008 move.l D0, A0
label00005520:
00005520 1218 move.b D1, [A0]+
00005522 67E8 beq -0x16 /* 0000550C */
00005524 226F 0008 movea.l A1, [A7 + 0x8]
label00005528:
00005528 1419 move.b D2, [A1]+
0000552A 66EE bne -0x10 /* 0000551A */
label0000552C:
0000552C 1218 move.b D1, [A0]+
0000552E 6712 beq +0x14 /* 00005542 */
00005530 226F 0008 movea.l A1, [A7 + 0x8]
label00005534:
00005534 1419 move.b D2, [A1]+
00005536 67F4 beq -0xA /* 0000552C */
00005538 B401 cmp.b D2, D1
0000553A 66F8 bne -0x6 /* 00005534 */
0000553C 2B48 FFFC move.l [A5 - 0x4], A0
00005540 4220 clr.b -[A0]
label00005542:
00005542 4E75 rts
export_86:
fn00005544:
00005544 70FF moveq.l D0, 0xFFFFFFFF
00005546 206F 0004 movea.l A0, [A7 + 0x4]
label0000554A:
0000554A 5280 addq.l D0, 1
0000554C 4A18 tst.b [A0]+
0000554E 66FA bne -0x4 /* 0000554A */
00005550 4E75 rts
fn00005552:
00005552 4E56 FFFC link A6, -0x0004
00005556 2F0C move.l -[A7], A4
00005558 286E 000A movea.l A4, [A6 + 0xA]
0000555C 0C6E FFFF 0008 cmpi.w [A6 + 0x8], 0xFFFF
00005562 6606 bne +0x8 /* 0000556A */
00005564 70FF moveq.l D0, 0xFFFFFFFF
00005566 6000 0090 bra +0x92 /* 000055F8 */
label0000556A:
0000556A 2F0C move.l -[A7], A4
0000556C 4EBA FCBA jsr [PC - 0x346 /* 00005228 */]
00005570 588F addq.l A7, 4
00005572 082C 0007 0001 btst.b [A4 + 0x1], 0x7
00005578 670E beq +0x10 /* 00005588 */
0000557A 4AAC 0012 tst.l [A4 + 0x12]
0000557E 6700 005E beq +0x60 /* 000055DE */
00005582 70FF moveq.l D0, 0xFFFFFFFF
00005584 6000 0072 bra +0x74 /* 000055F8 */
label00005588:
00005588 202C 0012 move.l D0, [A4 + 0x12]
0000558C B0AC 000A cmp.l D0, [A4 + 0xA]
00005590 6622 bne +0x24 /* 000055B4 */
00005592 4AAC 000A tst.l [A4 + 0xA]
00005596 671C beq +0x1E /* 000055B4 */
00005598 202C 0012 move.l D0, [A4 + 0x12]
0000559C 91AC 0016 sub.l [A4 + 0x16], D0
000055A0 42AC 0012 clr.l [A4 + 0x12]
000055A4 41EC 0004 lea.l A0, [A4 + 0x4]
000055A8 2948 000E move.l [A4 + 0xE], A0
000055AC 08EC 0007 0001 bset.b [A4 + 0x1], 0x7
000055B2 602A bra +0x2C /* 000055DE */
label000055B4:
000055B4 202C 000E move.l D0, [A4 + 0xE]
000055B8 B0AC 0006 cmp.l D0, [A4 + 0x6]
000055BC 6620 bne +0x22 /* 000055DE */
000055BE 202C 000A move.l D0, [A4 + 0xA]
000055C2 90AC 0012 sub.l D0, [A4 + 0x12]
000055C6 D1AC 000E add.l [A4 + 0xE], D0
000055CA 2F2C 0012 move.l -[A7], [A4 + 0x12]
000055CE 2F2C 0006 move.l -[A7], [A4 + 0x6]
000055D2 2F2C 000E move.l -[A7], [A4 + 0xE]
000055D6 4EBA E4F8 jsr [PC - 0x1B08 /* 00003AD0 */]
000055DA 4FEF 000C lea.l A7, [A7 + 0xC]
label000055DE:
000055DE 0894 0005 bclr.b [A4], 0x5
000055E2 52AC 0012 addq.l [A4 + 0x12], 1
000055E6 53AC 000E subq.l [A4 + 0xE], 1
000055EA 206C 000E movea.l A0, [A4 + 0xE]
000055EE 102E 0009 move.b D0, [A6 + 0x9]
000055F2 1080 move.b [A0], D0
000055F4 0240 00FF andi.w D0, 0xFF
label000055F8:
000055F8 285F movea.l A4, [A7]+
000055FA 4E5E unlink A6
000055FC 4E75 rts